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