Esempio n. 1
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));
 }
Esempio n. 2
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ValueID)
 {
     return(db.Delete <Z01ProductExtValue>(_ValueID));
 }
Esempio n. 3
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _BrandID)
 {
     return(db.Delete <Z01Brand>(_BrandID));
 }
Esempio n. 4
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _UserRoleID)
 {
     return(db.Delete <UserRole>(_UserRoleID));
 }
Esempio n. 5
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _TenantID)
 {
     return(db.Delete <Tenant>(_TenantID));
 }
Esempio n. 6
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _CICID)
 {
     return(db.Delete <Z01CustomerInCategory>(_CICID));
 }
Esempio n. 7
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _RolePermissionID)
 {
     return(db.Delete <RolePermission>(_RolePermissionID));
 }
Esempio n. 8
0
 public static int Delete(Zippy.Data.IDalProvider db, String _ID)
 {
     return(db.Delete <Currency>(_ID));
 }
Esempio n. 9
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _DepotID)
 {
     return(db.Delete <Z10Depot>(_DepotID));
 }
Esempio n. 10
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _GroupID)
 {
     return(db.Delete <Group>(_GroupID));
 }
Esempio n. 11
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _TenantApplicationID)
 {
     return(db.Delete <TenantApplication>(_TenantApplicationID));
 }
Esempio n. 12
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _IndustryID)
 {
     return(db.Delete <Industry>(_IndustryID));
 }
Esempio n. 13
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _PersonID)
 {
     return(db.Delete <Z01CustomerPerson>(_PersonID));
 }
Esempio n. 14
0
 public static int Delete(Zippy.Data.IDalProvider db, Int32 _UnitID)
 {
     return(db.Delete <Z01Unit>(_UnitID));
 }
Esempio n. 15
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _IdentityID)
 {
     return(db.Delete <TenantIdentity>(_IdentityID));
 }
Esempio n. 16
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _TrustIPID)
 {
     return(db.Delete <TrustIP>(_TrustIPID));
 }
Esempio n. 17
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _TemplateID)
 {
     return(db.Delete <PropertyTemplate>(_TemplateID));
 }
Esempio n. 18
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _RoleID)
 {
     return(db.Delete <Role>(_RoleID));
 }
Esempio n. 19
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _UserID)
 {
     return(db.Delete <Z01UserInfo>(_UserID));
 }
Esempio n. 20
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ProductID)
 {
     return(db.Delete <Z01Product>(_ProductID));
 }
Esempio n. 21
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ConfigID)
 {
     return(db.Delete <Z10Config>(_ConfigID));
 }
Esempio n. 22
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _CategoryID)
 {
     return(db.Delete <Z01FinancialCategory>(_CategoryID));
 }
Esempio n. 23
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _CommunicationID)
 {
     return(db.Delete <Z30Communication>(_CommunicationID));
 }
Esempio n. 24
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ResourceID)
 {
     return(db.Delete <TextResource>(_ResourceID));
 }
Esempio n. 25
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _PropertyID)
 {
     return(db.Delete <ExtProperty>(_PropertyID));
 }
Esempio n. 26
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _AreaID)
 {
     return(db.Delete <Area>(_AreaID));
 }
Esempio n. 27
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _UGID)
 {
     return db.Delete<UserGroup>(_UGID);
 }
Esempio n. 28
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _DataSourceID)
 {
     return(db.Delete <DataSource>(_DataSourceID));
 }
Esempio n. 29
0
 public static int Delete(Zippy.Data.IDalProvider db, Guid _CultureID)
 {
     return(db.Delete <Culture>(_CultureID));
 }
Esempio n. 30
0
 public static int Delete(Zippy.Data.IDalProvider db, Int64 _ItemID)
 {
     return(db.Delete <Z10OrderItem>(_ItemID));
 }