本文整理汇总了C#中MyCompany类的典型用法代码示例。如果您正苦于以下问题:C# MyCompany类的具体用法?C# MyCompany怎么用?C# MyCompany使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MyCompany类属于命名空间,在下文中一共展示了MyCompany类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Select
public static List<MyCompany.Data.Objects.CoaDetailOpenBalance> Select(MyCompany.Data.Objects.CoaDetailOpenBalance qbe)
{
return new CoaDetailOpenBalanceFactory().Select(qbe);
}
示例2: Update
public virtual int Update(MyCompany.Data.Objects.Prefix thePrefix)
{
return Update(thePrefix, SelectSingle(thePrefix.PrefixID));
}
示例3: ExecuteAction
protected virtual int ExecuteAction(MyCompany.Data.Objects.Prefix thePrefix, MyCompany.Data.Objects.Prefix original_Prefix, string lastCommandName, string commandName, string dataView)
{
ActionArgs args = new ActionArgs();
args.Controller = "Prefix";
args.View = dataView;
args.Values = CreateFieldValues(thePrefix, original_Prefix);
args.LastCommandName = lastCommandName;
args.CommandName = commandName;
ActionResult result = ControllerFactory.CreateDataController().Execute("Prefix", dataView, args);
result.RaiseExceptionIfErrors();
result.AssignTo(thePrefix);
return result.RowsAffected;
}
示例4: Delete
public virtual int Delete(MyCompany.Data.Objects.Prefix thePrefix)
{
return ExecuteAction(thePrefix, thePrefix, "Select", "Delete", DeleteView);
}
示例5: Select
public List<MyCompany.Data.Objects.Prefix> Select(MyCompany.Data.Objects.Prefix qbe)
{
return Select(qbe.PrefixID, qbe.Prefix_);
}
示例6: Select
public List<MyCompany.Data.Objects.MoneyReceipts> Select(MyCompany.Data.Objects.MoneyReceipts qbe)
{
return Select(qbe.MoneyReceiptsID, qbe.MRDate, qbe.MRNo, qbe.PlotSaleID, qbe.PayCatID, qbe.PayCatCategory, qbe.PCode, qbe.ReceAmount, qbe.ModeofReceiptID, qbe.ModeofReceiptDescription, qbe.ApplicantId, qbe.AccSubNameID, qbe.AccSubNameAccSubName, qbe.AccSubNameAccSubTypeAccSubType, qbe.Fileno, qbe.Checkno, qbe.CheckDate, qbe.CheckPostDate, qbe.CheckBankName, qbe.BankBranch, qbe.Dlt, qbe.Description, qbe.MultiPayment, qbe.CancelMR, qbe.CancelDate, qbe.ReceiptType, qbe.GName, qbe.GFathersName, qbe.Gaddress, qbe.vide, qbe.Created_BY, qbe.Created_DT, qbe.Updated_BY, qbe.Updated_DT, qbe.Remarks, qbe.DisplayAction, qbe.AccFundID, qbe.CoaDetailID, qbe.CoaDetailAccName, qbe.CoaDetailAccBalTypeAccBalType, qbe.CoaDetailAccCurrencyAccCurrencyName, qbe.CoaDetailAccDestAccDest, qbe.CoaDetailAccDestCompanyTypeDescription, qbe.CoaDetailAccFundAccFundCode, qbe.CoaDetailAccSubTypeAccSubType, qbe.CoaDetailAccTypeAccType, qbe.CoaDetailCoaControlAccName, qbe.CoaDetailCoaControlAccBalTypeAccBalType, qbe.CoaDetailCoaControlAccDestAccDest, qbe.CoaDetailCoaControlAccTypeAccType, qbe.CoaDetailCoaControlCompTypeDescription, qbe.CoaDetailCoaMainAccName, qbe.CoaDetailCoaMainAccBalTypeAccBalType, qbe.CoaDetailCoaMainAccDestAccDest, qbe.CoaDetailCoaMainAccFundAccFundCode, qbe.CoaDetailCoaMainAccTypeAccType, qbe.CoaDetailCoaMainCoaControlAccName, qbe.CoaDetailCoaSubAccName, qbe.CoaDetailCoaSubAccBalTypeAccBalType, qbe.CoaDetailCoaSubAccDestAccDest, qbe.CoaDetailCoaSubAccFundAccFundCode, qbe.CoaDetailCoaSubAccTypeAccType, qbe.CoaDetailCoaSubCoaControlAccName, qbe.CoaDetailCoaSubCoaMainAccName, qbe.AccTranID);
}
示例7: Update
public virtual int Update(MyCompany.Data.Objects.MoneyReceipts theMoneyReceipts)
{
return Update(theMoneyReceipts, SelectSingle(theMoneyReceipts.MoneyReceiptsID));
}
示例8: CreateFieldValues
protected virtual FieldValue[] CreateFieldValues(MyCompany.Data.Objects.CoaDetailOpenBalance theCoaDetailOpenBalance, MyCompany.Data.Objects.CoaDetailOpenBalance original_CoaDetailOpenBalance)
{
List<FieldValue> values = new List<FieldValue>();
values.Add(new FieldValue("CoaDetailID", original_CoaDetailOpenBalance.CoaDetailID, theCoaDetailOpenBalance.CoaDetailID, true));
values.Add(new FieldValue("AccFundID", original_CoaDetailOpenBalance.AccFundID, theCoaDetailOpenBalance.AccFundID));
values.Add(new FieldValue("AccFundAccFundName", original_CoaDetailOpenBalance.AccFundAccFundName, theCoaDetailOpenBalance.AccFundAccFundName, true));
values.Add(new FieldValue("AccFundCode", original_CoaDetailOpenBalance.AccFundCode, theCoaDetailOpenBalance.AccFundCode));
values.Add(new FieldValue("Acccode", original_CoaDetailOpenBalance.Acccode, theCoaDetailOpenBalance.Acccode));
values.Add(new FieldValue("AccName", original_CoaDetailOpenBalance.AccName, theCoaDetailOpenBalance.AccName));
values.Add(new FieldValue("AccDesc", original_CoaDetailOpenBalance.AccDesc, theCoaDetailOpenBalance.AccDesc));
values.Add(new FieldValue("AccTypeID", original_CoaDetailOpenBalance.AccTypeID, theCoaDetailOpenBalance.AccTypeID));
values.Add(new FieldValue("AccTypeAccType", original_CoaDetailOpenBalance.AccTypeAccType, theCoaDetailOpenBalance.AccTypeAccType, true));
values.Add(new FieldValue("AccDestID", original_CoaDetailOpenBalance.AccDestID, theCoaDetailOpenBalance.AccDestID));
values.Add(new FieldValue("AccDestAccDest", original_CoaDetailOpenBalance.AccDestAccDest, theCoaDetailOpenBalance.AccDestAccDest, true));
values.Add(new FieldValue("AccDestCompanyTypeDescription", original_CoaDetailOpenBalance.AccDestCompanyTypeDescription, theCoaDetailOpenBalance.AccDestCompanyTypeDescription, true));
values.Add(new FieldValue("AccBalTypeID", original_CoaDetailOpenBalance.AccBalTypeID, theCoaDetailOpenBalance.AccBalTypeID));
values.Add(new FieldValue("AccBalTypeAccBalType", original_CoaDetailOpenBalance.AccBalTypeAccBalType, theCoaDetailOpenBalance.AccBalTypeAccBalType, true));
values.Add(new FieldValue("AccCurrency", original_CoaDetailOpenBalance.AccCurrency, theCoaDetailOpenBalance.AccCurrency));
values.Add(new FieldValue("AccCurrencyAccCurrencyName", original_CoaDetailOpenBalance.AccCurrencyAccCurrencyName, theCoaDetailOpenBalance.AccCurrencyAccCurrencyName, true));
values.Add(new FieldValue("ConsTranCode", original_CoaDetailOpenBalance.ConsTranCode, theCoaDetailOpenBalance.ConsTranCode));
values.Add(new FieldValue("CoaControlID", original_CoaDetailOpenBalance.CoaControlID, theCoaDetailOpenBalance.CoaControlID));
values.Add(new FieldValue("CoaControlAccName", original_CoaDetailOpenBalance.CoaControlAccName, theCoaDetailOpenBalance.CoaControlAccName, true));
values.Add(new FieldValue("CoaControlAccBalTypeAccBalType", original_CoaDetailOpenBalance.CoaControlAccBalTypeAccBalType, theCoaDetailOpenBalance.CoaControlAccBalTypeAccBalType, true));
values.Add(new FieldValue("CoaControlAccDestAccDest", original_CoaDetailOpenBalance.CoaControlAccDestAccDest, theCoaDetailOpenBalance.CoaControlAccDestAccDest, true));
values.Add(new FieldValue("CoaControlAccDestCompanyTypeDescription", original_CoaDetailOpenBalance.CoaControlAccDestCompanyTypeDescription, theCoaDetailOpenBalance.CoaControlAccDestCompanyTypeDescription, true));
values.Add(new FieldValue("CoaControlAccTypeAccType", original_CoaDetailOpenBalance.CoaControlAccTypeAccType, theCoaDetailOpenBalance.CoaControlAccTypeAccType, true));
values.Add(new FieldValue("CoaControlCompTypeDescription", original_CoaDetailOpenBalance.CoaControlCompTypeDescription, theCoaDetailOpenBalance.CoaControlCompTypeDescription, true));
values.Add(new FieldValue("CoaSubID", original_CoaDetailOpenBalance.CoaSubID, theCoaDetailOpenBalance.CoaSubID));
values.Add(new FieldValue("CoaSubAccName", original_CoaDetailOpenBalance.CoaSubAccName, theCoaDetailOpenBalance.CoaSubAccName, true));
values.Add(new FieldValue("CoaSubAccBalTypeAccBalType", original_CoaDetailOpenBalance.CoaSubAccBalTypeAccBalType, theCoaDetailOpenBalance.CoaSubAccBalTypeAccBalType, true));
values.Add(new FieldValue("CoaSubAccDestAccDest", original_CoaDetailOpenBalance.CoaSubAccDestAccDest, theCoaDetailOpenBalance.CoaSubAccDestAccDest, true));
values.Add(new FieldValue("CoaSubAccDestCompanyTypeDescription", original_CoaDetailOpenBalance.CoaSubAccDestCompanyTypeDescription, theCoaDetailOpenBalance.CoaSubAccDestCompanyTypeDescription, true));
values.Add(new FieldValue("CoaSubAccFundAccFundName", original_CoaDetailOpenBalance.CoaSubAccFundAccFundName, theCoaDetailOpenBalance.CoaSubAccFundAccFundName, true));
values.Add(new FieldValue("CoaSubAccTypeAccType", original_CoaDetailOpenBalance.CoaSubAccTypeAccType, theCoaDetailOpenBalance.CoaSubAccTypeAccType, true));
values.Add(new FieldValue("CoaSubCoaControlAccName", original_CoaDetailOpenBalance.CoaSubCoaControlAccName, theCoaDetailOpenBalance.CoaSubCoaControlAccName, true));
values.Add(new FieldValue("CoaSubCoaControlAccBalTypeAccBalType", original_CoaDetailOpenBalance.CoaSubCoaControlAccBalTypeAccBalType, theCoaDetailOpenBalance.CoaSubCoaControlAccBalTypeAccBalType, true));
values.Add(new FieldValue("CoaSubCoaControlAccDestAccDest", original_CoaDetailOpenBalance.CoaSubCoaControlAccDestAccDest, theCoaDetailOpenBalance.CoaSubCoaControlAccDestAccDest, true));
values.Add(new FieldValue("CoaSubCoaControlAccTypeAccType", original_CoaDetailOpenBalance.CoaSubCoaControlAccTypeAccType, theCoaDetailOpenBalance.CoaSubCoaControlAccTypeAccType, true));
values.Add(new FieldValue("CoaSubCoaControlCompTypeDescription", original_CoaDetailOpenBalance.CoaSubCoaControlCompTypeDescription, theCoaDetailOpenBalance.CoaSubCoaControlCompTypeDescription, true));
values.Add(new FieldValue("CoaSubCoaMainAccName", original_CoaDetailOpenBalance.CoaSubCoaMainAccName, theCoaDetailOpenBalance.CoaSubCoaMainAccName, true));
values.Add(new FieldValue("CoaSubCoaMainAccBalTypeAccBalType", original_CoaDetailOpenBalance.CoaSubCoaMainAccBalTypeAccBalType, theCoaDetailOpenBalance.CoaSubCoaMainAccBalTypeAccBalType, true));
values.Add(new FieldValue("CoaSubCoaMainAccDestAccDest", original_CoaDetailOpenBalance.CoaSubCoaMainAccDestAccDest, theCoaDetailOpenBalance.CoaSubCoaMainAccDestAccDest, true));
values.Add(new FieldValue("CoaSubCoaMainAccFundAccFundName", original_CoaDetailOpenBalance.CoaSubCoaMainAccFundAccFundName, theCoaDetailOpenBalance.CoaSubCoaMainAccFundAccFundName, true));
values.Add(new FieldValue("CoaSubCoaMainAccTypeAccType", original_CoaDetailOpenBalance.CoaSubCoaMainAccTypeAccType, theCoaDetailOpenBalance.CoaSubCoaMainAccTypeAccType, true));
values.Add(new FieldValue("CoaSubCoaMainCoaControlAccName", original_CoaDetailOpenBalance.CoaSubCoaMainCoaControlAccName, theCoaDetailOpenBalance.CoaSubCoaMainCoaControlAccName, true));
values.Add(new FieldValue("CoaMainID", original_CoaDetailOpenBalance.CoaMainID, theCoaDetailOpenBalance.CoaMainID));
values.Add(new FieldValue("CoaMainAccName", original_CoaDetailOpenBalance.CoaMainAccName, theCoaDetailOpenBalance.CoaMainAccName, true));
values.Add(new FieldValue("CoaMainAccBalTypeAccBalType", original_CoaDetailOpenBalance.CoaMainAccBalTypeAccBalType, theCoaDetailOpenBalance.CoaMainAccBalTypeAccBalType, true));
values.Add(new FieldValue("CoaMainAccDestAccDest", original_CoaDetailOpenBalance.CoaMainAccDestAccDest, theCoaDetailOpenBalance.CoaMainAccDestAccDest, true));
values.Add(new FieldValue("CoaMainAccDestCompanyTypeDescription", original_CoaDetailOpenBalance.CoaMainAccDestCompanyTypeDescription, theCoaDetailOpenBalance.CoaMainAccDestCompanyTypeDescription, true));
values.Add(new FieldValue("CoaMainAccFundAccFundName", original_CoaDetailOpenBalance.CoaMainAccFundAccFundName, theCoaDetailOpenBalance.CoaMainAccFundAccFundName, true));
values.Add(new FieldValue("CoaMainAccTypeAccType", original_CoaDetailOpenBalance.CoaMainAccTypeAccType, theCoaDetailOpenBalance.CoaMainAccTypeAccType, true));
values.Add(new FieldValue("CoaMainCoaControlAccName", original_CoaDetailOpenBalance.CoaMainCoaControlAccName, theCoaDetailOpenBalance.CoaMainCoaControlAccName, true));
values.Add(new FieldValue("CoaMainCoaControlAccBalTypeAccBalType", original_CoaDetailOpenBalance.CoaMainCoaControlAccBalTypeAccBalType, theCoaDetailOpenBalance.CoaMainCoaControlAccBalTypeAccBalType, true));
values.Add(new FieldValue("CoaMainCoaControlAccDestAccDest", original_CoaDetailOpenBalance.CoaMainCoaControlAccDestAccDest, theCoaDetailOpenBalance.CoaMainCoaControlAccDestAccDest, true));
values.Add(new FieldValue("CoaMainCoaControlAccTypeAccType", original_CoaDetailOpenBalance.CoaMainCoaControlAccTypeAccType, theCoaDetailOpenBalance.CoaMainCoaControlAccTypeAccType, true));
values.Add(new FieldValue("CoaMainCoaControlCompTypeDescription", original_CoaDetailOpenBalance.CoaMainCoaControlCompTypeDescription, theCoaDetailOpenBalance.CoaMainCoaControlCompTypeDescription, true));
values.Add(new FieldValue("TranCode", original_CoaDetailOpenBalance.TranCode, theCoaDetailOpenBalance.TranCode));
values.Add(new FieldValue("SubsYN", original_CoaDetailOpenBalance.SubsYN, theCoaDetailOpenBalance.SubsYN));
values.Add(new FieldValue("AccSubTypeID", original_CoaDetailOpenBalance.AccSubTypeID, theCoaDetailOpenBalance.AccSubTypeID));
values.Add(new FieldValue("AccSubTypeAccSubTypeName", original_CoaDetailOpenBalance.AccSubTypeAccSubTypeName, theCoaDetailOpenBalance.AccSubTypeAccSubTypeName, true));
values.Add(new FieldValue("OpenDate", original_CoaDetailOpenBalance.OpenDate, theCoaDetailOpenBalance.OpenDate));
values.Add(new FieldValue("OpenDebit", original_CoaDetailOpenBalance.OpenDebit, theCoaDetailOpenBalance.OpenDebit));
values.Add(new FieldValue("OpenCredit", original_CoaDetailOpenBalance.OpenCredit, theCoaDetailOpenBalance.OpenCredit));
values.Add(new FieldValue("AccCurrencyRate", original_CoaDetailOpenBalance.AccCurrencyRate, theCoaDetailOpenBalance.AccCurrencyRate));
values.Add(new FieldValue("Revenue", original_CoaDetailOpenBalance.Revenue, theCoaDetailOpenBalance.Revenue));
values.Add(new FieldValue("VariableCost", original_CoaDetailOpenBalance.VariableCost, theCoaDetailOpenBalance.VariableCost));
values.Add(new FieldValue("MonthlyExp", original_CoaDetailOpenBalance.MonthlyExp, theCoaDetailOpenBalance.MonthlyExp));
values.Add(new FieldValue("Budget", original_CoaDetailOpenBalance.Budget, theCoaDetailOpenBalance.Budget));
values.Add(new FieldValue("Annex", original_CoaDetailOpenBalance.Annex, theCoaDetailOpenBalance.Annex));
values.Add(new FieldValue("Dlt", original_CoaDetailOpenBalance.Dlt, theCoaDetailOpenBalance.Dlt));
values.Add(new FieldValue("IsCashNature", original_CoaDetailOpenBalance.IsCashNature, theCoaDetailOpenBalance.IsCashNature));
values.Add(new FieldValue("IsBankNature", original_CoaDetailOpenBalance.IsBankNature, theCoaDetailOpenBalance.IsBankNature));
values.Add(new FieldValue("AccSubTypeID1", original_CoaDetailOpenBalance.AccSubTypeID1, theCoaDetailOpenBalance.AccSubTypeID1));
values.Add(new FieldValue("AccSubTypeID2", original_CoaDetailOpenBalance.AccSubTypeID2, theCoaDetailOpenBalance.AccSubTypeID2));
values.Add(new FieldValue("BankName", original_CoaDetailOpenBalance.BankName, theCoaDetailOpenBalance.BankName));
values.Add(new FieldValue("BankAccNum", original_CoaDetailOpenBalance.BankAccNum, theCoaDetailOpenBalance.BankAccNum));
values.Add(new FieldValue("BranchName", original_CoaDetailOpenBalance.BranchName, theCoaDetailOpenBalance.BranchName));
values.Add(new FieldValue("BankAccType", original_CoaDetailOpenBalance.BankAccType, theCoaDetailOpenBalance.BankAccType));
values.Add(new FieldValue("AccSubTypeAccSubTypeName1", original_CoaDetailOpenBalance.AccSubTypeAccSubTypeName1, theCoaDetailOpenBalance.AccSubTypeAccSubTypeName1));
values.Add(new FieldValue("AccSubTypeAccSubTypeName2", original_CoaDetailOpenBalance.AccSubTypeAccSubTypeName2, theCoaDetailOpenBalance.AccSubTypeAccSubTypeName2));
return values.ToArray();
}
示例9: Select
public static List<MyCompany.Data.Objects.Company> Select(MyCompany.Data.Objects.Company qbe)
{
return new CompanyFactory().Select(qbe);
}
示例10: Update
public virtual int Update(MyCompany.Data.Objects.CoaDetailOpenBalance theCoaDetailOpenBalance, MyCompany.Data.Objects.CoaDetailOpenBalance original_CoaDetailOpenBalance)
{
return ExecuteAction(theCoaDetailOpenBalance, original_CoaDetailOpenBalance, "Edit", "Update", UpdateView);
}
示例11: Insert
public virtual int Insert(MyCompany.Data.Objects.CoaDetailOpenBalance theCoaDetailOpenBalance)
{
return ExecuteAction(theCoaDetailOpenBalance, new CoaDetailOpenBalance(), "New", "Insert", InsertView);
}
示例12: Delete
public virtual int Delete(MyCompany.Data.Objects.CoaDetailOpenBalance theCoaDetailOpenBalance)
{
return ExecuteAction(theCoaDetailOpenBalance, theCoaDetailOpenBalance, "Select", "Delete", DeleteView);
}
示例13: Delete
public virtual int Delete(MyCompany.Data.Objects.MoneyReceipts theMoneyReceipts)
{
return ExecuteAction(theMoneyReceipts, theMoneyReceipts, "Select", "Delete", DeleteView);
}
示例14: Delete
public virtual int Delete(MyCompany.Data.Objects.Company theCompany)
{
return ExecuteAction(theCompany, theCompany, "Select", "Delete", DeleteView);
}
示例15: Insert
public virtual int Insert(MyCompany.Data.Objects.MoneyReceipts theMoneyReceipts)
{
return ExecuteAction(theMoneyReceipts, new MoneyReceipts(), "New", "Insert", InsertView);
}