コード例 #1
0
 public static MEMBERS.SQLReturnValue GetBannerPriority(IncidentCategoryClass obj)
 {
     string[,] param = { { "bannerIDP", obj.bannerIDP.ToString() },
                         { "priority",  obj.priority.ToString()  },
                         { "Flag",      obj.Flag.ToString()      } };
     return(ExecuteProcWithMessageValue("Get_BannerPriority", param, true));
 }
コード例 #2
0
 public static MEMBERS.SQLReturnValue Insert_Update_IncidentCategory(IncidentCategoryClass obj)
 {
     string[,] param = { { "IncidentCategoryIDP",  obj.IncidentCategoryIDP.ToString()  },
                         { "IncidentCategoryName", obj.IncidentCategoryName.ToString() },
                         { "IsActive",             obj.IsActive.ToString()             },
                         { "UserID",               obj.UserID.ToString()               },
                         { "Flag",                 obj.Flag.ToString()                 }, };
     return(ExecuteProcWithMessageValue("Insert_Update_IncidentCategory", param, true));
 }