/// <summary> /// TMSs the group permissions update dal. /// </summary> /// <param name="_objTMS_GroupPermissions">The object TMS group permissions.</param> /// <returns>System.Int32.</returns> public int TMS_GroupPermissions_UpdateDAL(SecurityGroupsPermission _objTMS_GroupPermissions) { return(ExecuteScalarInt32Sp("TMS_GroupPermissions_Update", ParamBuilder.Par("GroupPermissionId", _objTMS_GroupPermissions.GroupPermissionId), ParamBuilder.Par("IsChecked", _objTMS_GroupPermissions.IsChecked), ParamBuilder.Par("UpdatedBy", _objTMS_GroupPermissions.UpdatedBy), ParamBuilder.Par("UpdatedDate", _objTMS_GroupPermissions.UpdatedDate))); }
/// <summary> /// TMSs the group permissions create dal. /// </summary> /// <param name="_objTMS_GroupPermissions">The object TMS group permissions.</param> /// <returns>System.Int64.</returns> public long TMS_GroupPermissions_CreateDAL(SecurityGroupsPermission _objTMS_GroupPermissions) { var parameters = new[] { ParamBuilder.Par("GroupPermissionId", 0) }; return(ExecuteInt64withOutPutparameterSp("TMS_GroupPermissions_Create", parameters, ParamBuilder.Par("GroupId", _objTMS_GroupPermissions.GroupId), ParamBuilder.Par("IsChecked", _objTMS_GroupPermissions.IsChecked), ParamBuilder.Par("CreatedBy", _objTMS_GroupPermissions.CreatedBy), ParamBuilder.Par("CreatedDate", _objTMS_GroupPermissions.CreatedDate), ParamBuilder.Par("PermissionNameId", _objTMS_GroupPermissions.PermissionNameId))); }
/// <summary> /// TMSs the group permissions update bal. /// </summary> /// <param name="_objTMS_GroupPermissions">The object TMS group permissions.</param> /// <returns>System.Int32.</returns> public int TMS_GroupPermissions_UpdateBAL(SecurityGroupsPermission _objTMS_GroupPermissions) { return(_DAL.TMS_GroupPermissions_UpdateDAL(_objTMS_GroupPermissions)); }
/// <summary> /// TMSs the group permissions create dal. /// </summary> /// <param name="_objTMS_GroupPermissions">The object TMS group permissions.</param> /// <returns>System.Int64.</returns> public long TMS_GroupPermissions_CreateDAL(SecurityGroupsPermission _objTMS_GroupPermissions) { return(_DAL.TMS_GroupPermissions_CreateDAL(_objTMS_GroupPermissions)); }