Пример #1
0
 /// <summary>
 /// Create a new tblChargeCode object.
 /// </summary>
 /// <param name="idChargeCode">Initial value of the idChargeCode property.</param>
 /// <param name="idChargeCodeCategory">Initial value of the idChargeCodeCategory property.</param>
 /// <param name="idChargeCodeType">Initial value of the idChargeCodeType property.</param>
 /// <param name="idChartOfAccount">Initial value of the idChartOfAccount property.</param>
 /// <param name="idFrequency">Initial value of the idFrequency property.</param>
 /// <param name="nameChargeCode">Initial value of the nameChargeCode property.</param>
 /// <param name="descChargeCode">Initial value of the descChargeCode property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="isTaxable">Initial value of the isTaxable property.</param>
 /// <param name="idStatusValue">Initial value of the idStatusValue property.</param>
 /// <param name="dateCreated">Initial value of the dateCreated property.</param>
 /// <param name="dateModified">Initial value of the dateModified property.</param>
 /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param>
 /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param>
 public static tblChargeCode CreatetblChargeCode(global::System.Int32 idChargeCode, global::System.Int32 idChargeCodeCategory, global::System.Int32 idChargeCodeType, global::System.Int32 idChartOfAccount, global::System.Int32 idFrequency, global::System.String nameChargeCode, global::System.String descChargeCode, global::System.Decimal price, global::System.Boolean isTaxable, global::System.Int32 idStatusValue, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblChargeCode tblChargeCode = new tblChargeCode();
     tblChargeCode.idChargeCode = idChargeCode;
     tblChargeCode.idChargeCodeCategory = idChargeCodeCategory;
     tblChargeCode.idChargeCodeType = idChargeCodeType;
     tblChargeCode.idChartOfAccount = idChartOfAccount;
     tblChargeCode.idFrequency = idFrequency;
     tblChargeCode.nameChargeCode = nameChargeCode;
     tblChargeCode.descChargeCode = descChargeCode;
     tblChargeCode.Price = price;
     tblChargeCode.isTaxable = isTaxable;
     tblChargeCode.idStatusValue = idStatusValue;
     tblChargeCode.dateCreated = dateCreated;
     tblChargeCode.dateModified = dateModified;
     tblChargeCode.CreatedByLogin = createdByLogin;
     tblChargeCode.ModifiedByLogin = modifiedByLogin;
     return tblChargeCode;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblChargeCodes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblChargeCodes(tblChargeCode tblChargeCode)
 {
     base.AddObject("tblChargeCodes", tblChargeCode);
 }