コード例 #1
0
ファイル: Add.Designer.cs プロジェクト: hijushen/WindowDemo
 /// <summary>
 /// 创建新的 ViewConsumptionAccounts 对象。
 /// </summary>
 /// <param name="accountID">AccountID 属性的初始值。</param>
 /// <param name="payAmount">PayAmount 属性的初始值。</param>
 /// <param name="createdByID">CreatedByID 属性的初始值。</param>
 /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param>
 /// <param name="createdDate">CreatedDate 属性的初始值。</param>
 /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param>
 public static ViewConsumptionAccounts CreateViewConsumptionAccounts(global::System.Guid accountID, global::System.Decimal payAmount, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate)
 {
     ViewConsumptionAccounts viewConsumptionAccounts = new ViewConsumptionAccounts();
     viewConsumptionAccounts.AccountID = accountID;
     viewConsumptionAccounts.PayAmount = payAmount;
     viewConsumptionAccounts.CreatedByID = createdByID;
     viewConsumptionAccounts.LastModifiedByID = lastModifiedByID;
     viewConsumptionAccounts.CreatedDate = createdDate;
     viewConsumptionAccounts.LastModifiedDate = lastModifiedDate;
     return viewConsumptionAccounts;
 }
コード例 #2
0
ファイル: Add.Designer.cs プロジェクト: hijushen/WindowDemo
 /// <summary>
 /// 用于向 ViewConsumptionAccounts EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToViewConsumptionAccounts(ViewConsumptionAccounts viewConsumptionAccounts)
 {
     base.AddObject("ViewConsumptionAccounts", viewConsumptionAccounts);
 }