Exemplo n.º 1
0
 /// <summary>
 /// 用于向 OrganicInvestors EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToOrganicInvestors(OrganicInvestor organicInvestor)
 {
     base.AddObject("OrganicInvestors", organicInvestor);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 OrganicInvestor 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="investorName">InvestorName 属性的初始值。</param>
 /// <param name="investorNumber">InvestorNumber 属性的初始值。</param>
 /// <param name="centisifierType">CentisifierType 属性的初始值。</param>
 /// <param name="organizBasicID">OrganizBasicID 属性的初始值。</param>
 /// <param name="amount">Amount 属性的初始值。</param>
 /// <param name="unit">Unit 属性的初始值。</param>
 /// <param name="currency">Currency 属性的初始值。</param>
 public static OrganicInvestor CreateOrganicInvestor(global::System.Int32 id, global::System.String investorName, global::System.Int32 investorNumber, global::System.String centisifierType, global::System.Int32 organizBasicID, global::System.Decimal amount, global::System.String unit, global::System.String currency)
 {
     OrganicInvestor organicInvestor = new OrganicInvestor();
     organicInvestor.ID = id;
     organicInvestor.InvestorName = investorName;
     organicInvestor.InvestorNumber = investorNumber;
     organicInvestor.CentisifierType = centisifierType;
     organicInvestor.OrganizBasicID = organizBasicID;
     organicInvestor.Amount = amount;
     organicInvestor.Unit = unit;
     organicInvestor.Currency = currency;
     return organicInvestor;
 }