/// <summary> /// Creates new instance of DataRequest /// </summary> /// <param name="Connector">Connector to use for results output</param> /// <param name="TableName">Table name to run queries against to</param> /// <param name="Columns">Columns to include into result</param> /// <param name="PrimaryKeyColumnName">PrimaryKey column name. Used to identify single row</param> /// <param name="ParentIDColumnName">ForeignKey column name. Used to link child rows to parents</param> /// <param name="AdapterType">Type of adapter to use for communication with database engine</param> /// <param name="ConnectionString">DatabaseAdapter connection string</param> public DataRequest(IdhtmlxConnector Connector, string TableName, string Columns, string PrimaryKeyColumnName, string ParentIDColumnName, dhtmlxDatabaseAdapterType AdapterType, string ConnectionString) : this(Connector, AdapterType, ConnectionString) { this.Initialize(TableName, Columns, PrimaryKeyColumnName, ParentIDColumnName); }
/// <summary> /// Creates new instance of dhtmlxOptionsConnector /// </summary> /// <param name="SelectSource">Select query or Table name to use for data retrieval</param> /// <param name="ItemTextColumnName">Column name to take option's text from</param> /// <param name="AdapterType">Type of adapter to use for communication with database engine</param> /// <param name="ConnectionString">ConnectionString for connection to database engine</param> public dhtmlxOptionsConnector(string SelectSource, dhtmlxDatabaseAdapterType AdapterType, string ConnectionString, string ItemTextColumnName) : base(SelectSource, "", AdapterType, ConnectionString, ItemTextColumnName) { }
/// <summary> /// Creates instance of DataRequest /// </summary> /// <param name="Connector">Connector to use for results output</param> /// <param name="AdapterType">Type of adapter to use for communication with database engine</param> /// <param name="ConnectionString">Connection string to use for DatabaseAdapter initialization</param> private DataRequest(IdhtmlxConnector Connector, dhtmlxDatabaseAdapterType AdapterType, string ConnectionString) :this(Connector) { this._AdapterType = AdapterType; this.Adapter.ConnectionString = ConnectionString; }