コード例 #1
0
        public void Add(int entityId, int entityType, string entityTitle, string entityDescription, string entityFirstName, string entityLastName, string entityEmail, string entityAltEmail, string entityAddress, string entityCity, string entityZip, int?entityCountry, string entityState, string entityPhone, string entityAltPhone, string entityMobile, string entityAltMobile, string entityFax, string entityAltFax, int entityStatus, int entityAccountId, string entityAccountTitle, DateTime entityCreatedOn, int entityCreatedBy, int entityLastUpdatedBy, DateTime entityLastUpdateOn)
        {
            srt.Clear();
            srt.Add("entityId", entityId);
            srt.Add("entityType", entityType);
            srt.Add("entityTitle", entityTitle);
            srt.Add("entityDescription", entityDescription);
            srt.Add("entityFirstName", entityFirstName);
            srt.Add("entityLastName", entityLastName);
            srt.Add("entityEmail", entityEmail);
            srt.Add("entityAltEmail", entityAltEmail);
            srt.Add("entityAddress", entityAddress);
            srt.Add("entityCity", entityCity);
            srt.Add("entityZip", entityZip);
            srt.Add("entityCountry", entityCountry);
            srt.Add("entityState", entityState);
            srt.Add("entityPhone", entityPhone);
            srt.Add("entityAltPhone", entityAltPhone);
            srt.Add("entityMobile", entityMobile);
            srt.Add("entityAltMobile", entityAltMobile);
            srt.Add("entityFax", entityFax);
            srt.Add("entityAltFax", entityAltFax);
            srt.Add("entityStatus", entityStatus);
            srt.Add("entityAccountId", entityAccountId);
            srt.Add("entityAccountTitle", entityAccountTitle);
            srt.Add("entityCreatedOn", entityCreatedOn);
            srt.Add("entityCreatedBy", entityCreatedBy);
            srt.Add("entityLastUpdatedBy", entityLastUpdatedBy);
            srt.Add("entityLastUpdateOn", entityLastUpdateOn);

            srt.Add("Flg", 1);
            dbComm.Execute(srt, Communicate.StoredProcedures.Entities);
        }
コード例 #2
0
ファイル: Groups.cs プロジェクト: abuabakr4rana/FinApp
 public void Update(int transGroupID, string transGroupTitle, DateTime transGroupCreatedOn, int transGroupCreatedBy, decimal transGroupTotalAmount, decimal?transGroupOfficialTotalAmount, int transTransCount, int?transGroupPrefixNo, string transGroupPrefixString, int?transGroupForeNumber, int transGroupStatus, int?transGroupApprovedBy, DateTime?transGroupApprovedOn, int?transGroupReviewedBy, DateTime?transGroupReviewedOn, int?transLinkedToGroup, int transGroupIsOfficial, string transGroupRefId, string transCField1, string transCField2, string transCField3, string transCField4)
 {
     srt.Clear();
     srt.Add("transGroupID", transGroupID);
     srt.Add("transGroupTitle", transGroupTitle);
     srt.Add("transGroupCreatedOn", transGroupCreatedOn);
     srt.Add("transGroupCreatedBy", transGroupCreatedBy);
     srt.Add("transGroupTotalAmount", transGroupTotalAmount);
     srt.Add("transGroupOfficialTotalAmount", transGroupOfficialTotalAmount);
     srt.Add("transTransCount", transTransCount);
     srt.Add("transGroupPrefixNo", transGroupPrefixNo);
     srt.Add("transGroupPrefixString", transGroupPrefixString);
     srt.Add("transGroupForeNumber", transGroupForeNumber);
     srt.Add("transGroupStatus", transGroupStatus);
     srt.Add("transGroupApprovedBy", transGroupApprovedBy);
     srt.Add("transGroupApprovedOn", transGroupApprovedOn);
     srt.Add("transGroupReviewedBy", transGroupReviewedBy);
     srt.Add("transGroupReviewedOn", transGroupReviewedOn);
     srt.Add("transLinkedToGroup", transLinkedToGroup);
     srt.Add("Flg", 2);
     srt.Add("transGroupIsOfficial", transGroupIsOfficial);
     srt.Add("transGroupRefId", transGroupRefId);
     srt.Add("transCField1", transCField1);
     srt.Add("transCField2", transCField2);
     srt.Add("transCField3", transCField3);
     srt.Add("transCField4", transCField4);
     dbComm.Execute(srt, Communicate.StoredProcedures.TransGroups);
 }
コード例 #3
0
ファイル: EntityType.cs プロジェクト: abuabakr4rana/FinApp
        public void Add(int entityType, string entityTypeTitle)
        {
            srt.Clear();
            srt.Add("entityType", entityType);
            srt.Add("entityTypeTitle", entityTypeTitle);

            srt.Add("Flg", 1);
            dbComm.Execute(srt, Communicate.StoredProcedures.EntityTypes);
        }
コード例 #4
0
ファイル: Accounts.cs プロジェクト: abuabakr4rana/FinApp
			public void Add(int accCatID, string accCatTitle, string accCatDescription)
			{
				srt.Clear();
				srt.Add("accCatID", accCatID);
				srt.Add("accCatTitle", accCatTitle);
				srt.Add("accCatDescription", accCatDescription);
				srt.Add("Flg", 1);
				dbComm.Execute(srt, Communicate.StoredProcedures.AccountCategories);
			}
コード例 #5
0
ファイル: Attachments.cs プロジェクト: abuabakr4rana/FinApp
 public void Add(int attachmentId, string attachmentOriginalFileName, string attachmentMaskedFileName, int transGroupID)
 {
     srt.Clear();
     srt.Add("attachmentId", attachmentId);
     srt.Add("attachmentOriginalFileName", attachmentOriginalFileName);
     srt.Add("attachmentMaskedFileName", attachmentMaskedFileName);
     srt.Add("transGroupID", transGroupID);
     srt.Add("Flg", 1);
     dbComm.Execute(srt, Communicate.StoredProcedures.Attachments);
 }
コード例 #6
0
        public void Add(int deptId, string deptTitle, string deptCode, string deptDescription)
        {
            srt.Add("deptId", deptId);
            srt.Add("deptTitle", deptTitle);
            srt.Add("deptCode", deptCode);
            srt.Add("deptDescription", deptDescription);

            srt.Add("Flg", 1);
            dbComm.Execute(srt, Communicate.StoredProcedures.Departments);
        }
コード例 #7
0
ファイル: FinYears.cs プロジェクト: abuabakr4rana/FinApp
        public void Add(int finyrID, DateTime startDate, DateTime endDate, bool status)
        {
            srt.Clear();
            srt.Add("finyrID", finyrID);
            srt.Add("startDate", startDate);
            srt.Add("endDate", endDate);
            srt.Add("status", status);
            srt.Add("Flg", 1);

            dbComm.Execute(srt, Communicate.StoredProcedures.FinYear);
        }
コード例 #8
0
 public void Add(int userID, string userFirstName, string userMiddleName, string userLastName, string userEmail, bool userIsOfficial, bool userIsActive)
 {
     srt.Clear();
     srt.Add("userID", userID);
     srt.Add("userFirstName", userFirstName);
     srt.Add("userMiddleName", userMiddleName);
     srt.Add("userLastName", userLastName);
     srt.Add("userEmail", userEmail);
     srt.Add("userIsOfficial", userIsOfficial);
     srt.Add("userIsActive", userIsActive);
     srt.Add("Flg", 1);
     dbComm.Execute(srt, Communicate.StoredProcedures.UserProfile);
 }
コード例 #9
0
ファイル: AppModules.cs プロジェクト: abuabakr4rana/FinApp
        public void Add(int moduleId, string moduleTitle, string moduleDescription, bool moduleIsOffial, string CField1, string CField2, string CField3, string CField4)
        {
            srt.Add("moduleId", moduleId);
            srt.Add("moduleTitle", moduleTitle);
            srt.Add("moduleDescription", moduleDescription);
            srt.Add("moduleIsOffial", moduleIsOffial);
            srt.Add("CField1", CField1);
            srt.Add("CField2", CField2);
            srt.Add("CField3", CField3);
            srt.Add("CField4", CField4);

            srt.Add("Flg", 1);
            dbComm.Execute(srt, iDB.Communicate.StoredProcedures.AppModules);
        }
コード例 #10
0
ファイル: Taxes.cs プロジェクト: abuabakr4rana/FinApp
 public void Add(int taxId, string taxTitle, decimal taxValue, bool taxTypeIsPercent, int taxCreatedBy, DateTime taxCreatedOn, string taxCreatedIP, int taxAccountId, string taxTransNarration)
 {
     srt.Clear();
     srt.Add("taxId", taxId);
     srt.Add("taxTitle", taxTitle);
     srt.Add("taxValue", taxValue);
     srt.Add("taxTypeIsPercent", taxTypeIsPercent);
     srt.Add("taxCreatedBy", taxCreatedBy);
     srt.Add("taxCreatedOn", taxCreatedOn);
     srt.Add("taxCreatedIP", taxCreatedIP);
     srt.Add("taxAccountId", taxAccountId);
     srt.Add("taxTransNarration", taxTransNarration);
     srt.Add("Flg", 1);
     dbComm.Execute(srt, Communicate.StoredProcedures.Taxes);
 }
コード例 #11
0
 private static void StartCommunication(WebSocket socket, IServiceProvider provider)
 {
     using (socket)
     {
         Communicate communication = BuildCommunication(socket, provider);
         communication.Execute().Wait();
     }
 }
コード例 #12
0
        public void Update(int chequeId, int bankId, string chequeTitle, string chequeAmount, decimal chequeAmountFig, DateTime?chequeDate, string chequeNo, string chequeReceivedBy, string chequeReceiverPhone, string chequeReceiverIDCard, int?chequeCreatedBy, DateTime?chequeCreatedOn, int?chequeStatus)
        {
            srt.Clear();
            srt.Add("chequeId", chequeId);
            srt.Add("bankId", bankId);
            srt.Add("chequeTitle", chequeTitle);
            srt.Add("chequeAmount", chequeAmount);
            srt.Add("chequeAmountFig", chequeAmountFig);
            srt.Add("chequeDate", chequeDate);
            srt.Add("chequeNo", chequeNo);
            srt.Add("chequeReceivedBy", chequeReceivedBy);
            srt.Add("chequeReceiverPhone", chequeReceiverPhone);
            srt.Add("chequeReceiverIDCard", chequeReceiverIDCard);
            srt.Add("chequeCreatedBy", chequeCreatedBy);
            srt.Add("chequeCreatedOn", chequeCreatedOn);
            srt.Add("chequeStatus", chequeStatus);

            srt.Add("Flg", 2);
            dbComm.Execute(srt, Communicate.StoredProcedures.ChequePrinting);
        }
コード例 #13
0
 public void Update(int transID, int?transSystemIndex, int?transParticipantID, string transRefID, string transAttachedFiles, int?transInvoiceID, int?transDrAccount, int?transCrAccount, string transNarration, decimal transAmount, DateTime transCreatedOn, int transCreatedBy, DateTime transUpdatedOn, int transUpdatedBy, int transStatus, bool transSystemRestrict, int?transGroupID, bool transIsCompound, int?transType, int?deptId)
 {
     srt.Clear();
     srt.Add("transID", transID);
     srt.Add("transSystemIndex", transSystemIndex);
     srt.Add("transParticipantID", transParticipantID);
     srt.Add("transRefID", transRefID);
     srt.Add("transAttachedFiles", transAttachedFiles);
     srt.Add("transInvoiceID", transInvoiceID);
     srt.Add("transDrAccount", transDrAccount);
     srt.Add("transCrAccount", transCrAccount);
     srt.Add("deptId", deptId);
     srt.Add("transNarration", transNarration);
     srt.Add("transAmount", transAmount);
     srt.Add("transCreatedOn", transCreatedOn);
     srt.Add("transCreatedBy", transCreatedBy);
     srt.Add("transUpdatedOn", transUpdatedOn);
     srt.Add("transUpdatedBy", transUpdatedBy);
     srt.Add("transStatus", transStatus);
     srt.Add("transSystemRestrict", transSystemRestrict);
     srt.Add("transGroupID", transGroupID);
     srt.Add("transIsCompound", transIsCompound);
     srt.Add("transType", transType);
     srt.Add("Flg", 2);
     dbComm.Execute(srt, Communicate.StoredProcedures.Transactions);
 }
コード例 #14
0
 public void Update(int vendorId, string vendorCode, string vendorURL, string vendorTitle, string vendorDescription, int vendorProductType, string vendorAddressLine1, string vendorAddressLine2, string vendorCity, string vendorZip, string vendorState, string vendorStateShortcode, string vendorCountry, string vendorCountryShortcode, bool vendorIsActive, string vendorEmail, string vendorEmailAlt, string vendorPhone, string vendorPhoneAlt, int vendorMinQty, int vendorMaxQty, string vendorOrderIntimationEmal, string vendorSampleIntimationEmail, string vendorFTP, string vendorFtpUsername, string vendorFtpPassword, bool vendorSendOnFtp, string vendorFirstName, string vendorLastName, int?vendorAccountId, DateTime vendorCreatedOn, int vendorCreatedBy, string vendorCreatedIP)
 {
     srt.Clear();
     srt.Add("vendorId", vendorId);
     srt.Add("vendorURL", vendorURL);
     srt.Add("vendorCode", vendorCode);
     srt.Add("vendorTitle", vendorTitle);
     srt.Add("vendorDescription", vendorDescription);
     srt.Add("vendorProductType", vendorProductType);
     srt.Add("vendorAddressLine1", vendorAddressLine1);
     srt.Add("vendorAddressLine2", vendorAddressLine2);
     srt.Add("vendorCity", vendorCity);
     srt.Add("vendorZip", vendorZip);
     srt.Add("vendorState", vendorState);
     srt.Add("vendorStateShortcode", vendorStateShortcode);
     srt.Add("vendorCountry", vendorCountry);
     srt.Add("vendorCountryShortcode", vendorCountryShortcode);
     srt.Add("vendorIsActive", vendorIsActive);
     srt.Add("vendorEmail", vendorEmail);
     srt.Add("vendorEmailAlt", vendorEmailAlt);
     srt.Add("vendorPhone", vendorPhone);
     srt.Add("vendorPhoneAlt", vendorPhoneAlt);
     srt.Add("vendorMinQty", vendorMinQty);
     srt.Add("vendorMaxQty", vendorMaxQty);
     srt.Add("vendorOrderIntimationEmal", vendorOrderIntimationEmal);
     srt.Add("vendorSampleIntimationEmail", vendorSampleIntimationEmail);
     srt.Add("vendorFTP", vendorFTP);
     srt.Add("vendorFtpUsername", vendorFtpUsername);
     srt.Add("vendorFtpPassword", vendorFtpPassword);
     srt.Add("vendorSendOnFtp", vendorSendOnFtp);
     srt.Add("vendorFirstName", vendorFirstName);
     srt.Add("vendorLastName", vendorLastName);
     srt.Add("vendorAccountId", vendorAccountId);
     srt.Add("vendorCreatedOn", vendorCreatedOn);
     srt.Add("vendorCreatedBy", vendorCreatedBy);
     srt.Add("vendorCreatedIP", vendorCreatedIP);
     srt.Add("Flg", 2);
     dbComm.Execute(srt, Communicate.StoredProcedures.Product_Vendors);
 }