Ejemplo n.º 1
0
        /// <summary>
        /// 创建表格操作驱动对象
        /// </summary>
        /// <param name="Entity"></param>
        /// <param name="DalSql"></param>
        /// <returns></returns>
        public IDvTable CreateDriveTable(Protein.Enzyme.DAL.IEntityBase Entity, IDalSql DalSql)
        {
            IDvTable dvt = new DvTable(DalSql);

            dvt.Entity = Entity;
            return(dvt);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 创建表格操作驱动对象
        /// </summary>
        /// <returns></returns>
        public IDvTable CreateDriveTable(Protein.Enzyme.DAL.IEntityBase Entity)
        {
            IDalSql dsql = new DalSql(this.dbHelper);

            return(CreateDriveTable(Entity, dsql));
        }