Пример #1
0
        public TableAdapter(DataTable dataTable, TableName tableName, Locator locator)
        {
            this.dataTable = dataTable;
            this.tableName = tableName;
            this.locator   = locator;

            this.columns = new ColumnAdapterCollection();
            this.fields  = new DataFieldCollection();
        }
Пример #2
0
        public BaseRowAdapter(TableName tname, Locator locator)
        {
            this.columns = new ColumnAdapterCollection();
            this.fields  = new DataFieldCollection();

            this.tableName = tname;
            this.locator   = locator;
            this.template  = new SqlTemplate(tname);
        }
Пример #3
0
 //used for PersistentTable
 internal RowAdapter(DataFieldCollection fields, ColumnAdapterCollection columns, TableName tname, Locator locator)
     : base(tname, locator)
 {
     this.columns = columns;
     this.fields  = fields;
 }