Beispiel #1
0
 /// <summary>
 /// 表示 [属性] 对应的实体
 /// </summary>
 public static ExtProperty GetPropertyIDEntity(Zippy.Data.IDalProvider db, Z01ProductExtValue entity)
 {
     return db.FindUnique<ExtProperty>("PropertyID=@PropertyID", db.CreateParameter("PropertyID", entity.PropertyID));
 }
Beispiel #2
0
 public static int Insert(Zippy.Data.IDalProvider db, Z01ProductExtValue entity)
 {
     int rtn = db.Insert(entity);
     return rtn;
 }
Beispiel #3
0
 public static int Update(Zippy.Data.IDalProvider db, Z01ProductExtValue entity)
 {
     return db.Update(entity);
 }
        public static Z01ProductExtValue Create(Zippy.Data.IDalProvider db, Int64 _ValueID)
        {
            Z01ProductExtValue rtn = db.FindUnique <Z01ProductExtValue>(_ValueID);

            return(rtn);
        }
 /// <summary>
 /// 表示 [属性] 对应的实体
 /// </summary>
 public static ExtProperty GetPropertyIDEntity(Zippy.Data.IDalProvider db, Z01ProductExtValue entity)
 {
     return(db.FindUnique <ExtProperty>("PropertyID=@PropertyID", db.CreateParameter("PropertyID", entity.PropertyID)));
 }
 public static int Update(Zippy.Data.IDalProvider db, Z01ProductExtValue entity)
 {
     return(db.Update(entity));
 }
        public static int Insert(Zippy.Data.IDalProvider db, Z01ProductExtValue entity)
        {
            int rtn = db.Insert(entity);

            return(rtn);
        }