public static int Delete(Zippy.Data.IDalProvider db, Int64 _TenantApplicationID)
 {
     return db.Delete<TenantApplication>(_TenantApplicationID);
 }
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _CategoryID)
 {
     return db.Delete<Z01FinancialCategory>(_CategoryID);
 }
Exemple #3
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _UserID)
 {
     return db.Delete<Z01UserInfo>(_UserID);
 }
Exemple #4
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _IdentityID)
 {
     return db.Delete<TenantIdentity>(_IdentityID);
 }
Exemple #5
0
 public static int Delete(Zippy.Data.IDalProvider db, Int32 _UnitID)
 {
     return db.Delete<Z01Unit>(_UnitID);
 }
Exemple #6
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _TitleID)
 {
     return db.Delete<Z01Title>(_TitleID);
 }
Exemple #7
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _IndustryID)
 {
     return db.Delete<Industry>(_IndustryID);
 }
Exemple #8
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _RoleID)
 {
     return db.Delete<Role>(_RoleID);
 }
Exemple #9
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ConfigID)
 {
     return db.Delete<Z10Config>(_ConfigID);
 }
Exemple #10
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _AreaID)
 {
     return db.Delete<Area>(_AreaID);
 }
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ValueID)
 {
     return db.Delete<Z01ProductExtValue>(_ValueID);
 }
Exemple #12
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ItemID)
 {
     return db.Delete<Z10OrderItem>(_ItemID);
 }
Exemple #13
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _TrustIPID)
 {
     return db.Delete<TrustIP>(_TrustIPID);
 }
Exemple #14
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _FlowID)
 {
     return db.Delete<Z01FinancialFlow>(_FlowID);
 }
Exemple #15
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _TemplateID)
 {
     return db.Delete<Z01PaperTemplate>(_TemplateID);
 }
Exemple #16
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _DepotProductID)
 {
     return db.Delete<Z10DepotProduct>(_DepotProductID);
 }
Exemple #17
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _ApplicationID)
 {
     return db.Delete<Application>(_ApplicationID);
 }
Exemple #18
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _PropertyID)
 {
     return db.Delete<ExtProperty>(_PropertyID);
 }
Exemple #19
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _CommunicationID)
 {
     return db.Delete<Z30Communication>(_CommunicationID);
 }
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _PICID)
 {
     return db.Delete<Z01ProductInCategory>(_PICID);
 }
Exemple #21
0
 /// <summary>
 /// 移除角色
 /// </summary>
 /// <param name="userid"></param>
 /// <param name="roleid"></param>
 /// <param name="tenantid"></param>
 /// <param name="creator"></param>
 /// <param name="db"></param>
 public static void RemoveRole(Guid userid, Guid roleid, Guid? tenantid, Zippy.Data.IDalProvider db)
 {
     db.Delete<UserRole>("UserID=@UserID and RoleID=@RoleID and TenantID=@TenantID",
         db.CreateParameter("UserID", userid),
         db.CreateParameter("RoleID", roleid),
         db.CreateParameter("TenantID", tenantid));
 }
Exemple #22
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _GroupID)
 {
     return db.Delete<Group>(_GroupID);
 }
Exemple #23
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ResourceID)
 {
     return db.Delete<TextResource>(_ResourceID);
 }
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _CICID)
 {
     return db.Delete<Z01CustomerInCategory>(_CICID);
 }
Exemple #25
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _BankID)
 {
     return db.Delete<Z01Bank>(_BankID);
 }
Exemple #26
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _TenantID)
 {
     return db.Delete<Tenant>(_TenantID);
 }
Exemple #27
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _PermissionID)
 {
     return db.Delete<Permission>(_PermissionID);
 }
Exemple #28
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _FlowID)
 {
     return db.Delete<Z10DepotFlow>(_FlowID);
 }
Exemple #29
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _DataSourceID)
 {
     return db.Delete<DataSource>(_DataSourceID);
 }
Exemple #30
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _PersonID)
 {
     return db.Delete<Z01CustomerPerson>(_PersonID);
 }