Beispiel #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();
        }
Beispiel #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);
        }
Beispiel #3
0
 //used for PersistentTable
 internal RowAdapter(DataFieldCollection fields, ColumnAdapterCollection columns, TableName tname, Locator locator)
     : base(tname, locator)
 {
     this.columns = columns;
     this.fields  = fields;
 }