public static int Delete(this Database.Tables.系统.管理员 o, ColumnEnums.Tables.系统.管理员.Handler conditionCols = null)
        {
            if (conditionCols == null)
            {
                return(Database.Tables.系统.管理员.Delete(t =>
                                                     t.管理员编号 == o.管理员编号
                                                     ));
            }
            var cols = conditionCols(new DAL.ColumnEnums.Tables.系统.管理员());
            var exp  = new DAL.Expressions.Tables.系统.管理员();

            if (cols.Contains(0))
            {
                exp.And(t => t.管理员编号 == o.管理员编号);
            }
            if (cols.Contains(1))
            {
                exp.And(t => t.登录名 == o.登录名);
            }
            if (cols.Contains(2))
            {
                exp.And(t => t.密码 == o.密码);
            }
            if (cols.Contains(3))
            {
                exp.And(t => t.创建时间 == o.创建时间);
            }
            return(Database.Tables.系统.管理员.Delete(exp));
        }
 public static int Update(this Database.Tables.系统.管理员 o, Expressions.Tables.系统.管理员.Handler eh = null, ColumnEnums.Tables.系统.管理员.Handler updateCols = null, ColumnEnums.Tables.系统.管理员.Handler fillCols = null, bool isFillAfterUpdate = true)
 {
     return(Database.Tables.系统.管理员.Update(o, eh, updateCols, fillCols, isFillAfterUpdate));
 }
 public static int Insert(this Database.Tables.系统.管理员 o, ColumnEnums.Tables.系统.管理员.Handler insertCols = null, ColumnEnums.Tables.系统.管理员.Handler fillCols = null, bool isFillAfterInsert = true)
 {
     return(Database.Tables.系统.管理员.Insert(o, insertCols, fillCols, isFillAfterInsert));
 }