internal static CustomersAndAgents_DataSet_appData.OtherPayableRow Get_OtherPayable_Row(long OtherPayableiD) { CustomersAndAgents_DataSet_appData ds = new CustomersAndAgents_DataSet_appData(); Table_Adapter_OtherPayable.FillBy_OtherPayAbleRow_By_id_StoreProcedure(ds.OtherPayable, OtherPayableiD); var gg = (from o in ds.OtherPayable where (o.ID == OtherPayableiD) select o).FirstOrDefault(); return(gg); }
internal static string[] GetCategories_Coloumn() { DB.CustomersAndAgents_DataSet_appData aa = new DB.CustomersAndAgents_DataSet_appData(); // var aa = Table_Adapter_Packages.SelectQuery_Packages_Names_Coloumn_StoreProcedure_Func(); Table_Adapter_OtherPayable.FillBy_OtherPayable_CategoryColoum_StoreProcedure(aa.OtherPayable); var PackagerowQuery = (from o in aa.OtherPayable select o.CATEGORY).ToArray(); return(PackagerowQuery); }
internal static void NewOtherPayableInsert(string category, decimal paid, string toName, string extrainfo) { Table_Adapter_OtherPayable.Insert(category, paid, DateTime.Today, toName, extrainfo); }