예제 #1
0
 internal RdbTable(IRepositoryInternal repository)
 {
     _repository = repository;
     _meta       = repository.EntityMeta;
     _tableInfo  = repository.TableInfo;
     _columns    = new List <RdbColumn>();
 }
예제 #2
0
파일: RdbTable.cs 프로젝트: hardCTE/Rafy
 internal RdbTable(IRepositoryInternal repository)
 {
     _repository = repository;
     _meta = repository.EntityMeta;
     _tableInfo = repository.TableInfo;
     _columns = new List<RdbColumn>();
 }
예제 #3
0
파일: RdbTable.cs 프로젝트: zhuwansu/Rafy
        internal RdbTable(IRepositoryInternal repository)
        {
            _repository = repository;
            _meta = repository.EntityMeta;
            _tableInfo = repository.TableInfo;
            _columns = new List<RdbColumn>();

            _deleteSql = new Lazy<string>(this.GenerateDeleteSQL);
            _updateSQL = new Lazy<string>(() => this.GenerateUpdateSQL(null));
            _insertSql = new Lazy<string>(() => this.GenerateInsertSQL(false));
            _insertSqlWithId = new Lazy<string>(() => this.GenerateInsertSQL(true));
        }