static public void Delete(System.Int32 id, tgSqlAccessType sqlAccessType) { var obj = new MailPreferences(); obj.Id = id; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
static public void Delete(System.Int32 employeeID, tgSqlAccessType sqlAccessType) { var obj = new Employees(); obj.EmployeeID = employeeID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
static public void Delete(System.String id, tgSqlAccessType sqlAccessType) { var obj = new AspNetUsers(); obj.Id = id; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
static public void Delete(System.String userId, System.String roleId, tgSqlAccessType sqlAccessType) { var obj = new AspNetUserRoles(); obj.UserId = userId; obj.RoleId = roleId; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
public virtual bool LoadByPrimaryKey(tgSqlAccessType sqlAccessType, System.Int32 id) { if (sqlAccessType == tgSqlAccessType.DynamicSQL) { return(LoadByPrimaryKeyDynamic(id)); } else { return(LoadByPrimaryKeyStoredProcedure(id)); } }
public virtual bool LoadByPrimaryKey(tgSqlAccessType sqlAccessType, System.String loginProvider, System.String providerKey, System.String userId) { if (sqlAccessType == tgSqlAccessType.DynamicSQL) { return(LoadByPrimaryKeyDynamic(loginProvider, providerKey, userId)); } else { return(LoadByPrimaryKeyStoredProcedure(loginProvider, providerKey, userId)); } }
public virtual bool LoadByPrimaryKey(tgSqlAccessType sqlAccessType, System.String userId, System.String roleId) { if (sqlAccessType == tgSqlAccessType.DynamicSQL) { return(LoadByPrimaryKeyDynamic(userId, roleId)); } else { return(LoadByPrimaryKeyStoredProcedure(userId, roleId)); } }
public virtual bool LoadAll(tgSqlAccessType sqlAccessType) { return false; }
static public void Delete(System.String loginProvider, System.String providerKey, System.String userId, tgSqlAccessType sqlAccessType) { var obj = new AspNetUserLogins(); obj.LoginProvider = loginProvider; obj.ProviderKey = providerKey; obj.UserId = userId; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
public virtual bool LoadAll(tgSqlAccessType sqlAccessType) { return(false); }