using System.Collections.Generic;
using System.Collections.Specialized;
using System.Xml.Linq;
namespace Neo.Afx.Services.Integration
{
///
/// The integration data source.
///
public partial class DataSource
{
///
/// Gets or sets the type of the connection.
///
public ConnectionTypeEnum ConnectionTypeEnum
{
get;
set;
}
///
/// Gets or sets the type of the command.
///
public CommandTypeEnum CommandTypeEnum
{
get;
set;
}
///
/// Gets or sets the type of the authentication type.
///
public AuthTypeEnum AuthTypeEnum
{
get;
set;
}
/////////////////////////////////////////
// Calculated fields
/////////////////////////////////////////
///
/// Gets or sets the entity schema document.
///
public XElement EntitySchemaDoc
{
get;
set;
}
///
/// Gets or sets the name of the entity.
///
public string EntityName
{
get;
set;
}
///
/// The separator used to concatenate key values (a comma).
///
public string KeySeparator
{
get;
set;
}
///
/// The separator used to concatenate title values (a space).
///
public string TitleSeparator
{
get;
set;
}
///
/// Gets or sets the request headers collection.
///
public readonly NameValueCollection RequestHeadersCollection = new NameValueCollection();
///
/// Gets or sets the properties.
///
public readonly List Properties = new List();
///
/// Gets or sets the key properties.
///
public readonly List KeyProperties = new List();
///
/// Gets or sets the title properties.
///
public readonly List TitleProperties = new List();
}
}