public long InsertScreen(BOScreen objBO)
 {
     try
     {
         Hashtable ht = new Hashtable();
         ht.Add("menu_code", objBO.Code);
         ht.Add("display_name", objBO.Name);
         ht.Add("form_name", objBO.Description);
         ht.Add("creator", objBO.Creator);
         return(Convert.ToInt64(iPBSDBUtility.InsertData(ht, "dbo.insert_update_screen_t")));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
    public static long InsertScreen(BOScreen objBO)
    {
        DAScreen objDA = new DAScreen();

        return(Convert.ToInt64(objDA.InsertScreen(objBO)));
    }