Ejemplo n.º 1
0
 /// <summary>
 /// 用于向 Admin_NBPAccumulative EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToAdmin_NBPAccumulative(Admin_NBPAccumulative admin_NBPAccumulative)
 {
     base.AddObject("Admin_NBPAccumulative", admin_NBPAccumulative);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 创建新的 Admin_NBPAccumulative 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="countTime">CountTime 属性的初始值。</param>
 /// <param name="province">Province 属性的初始值。</param>
 /// <param name="cpName">CpName 属性的初始值。</param>
 /// <param name="nBPCount">NBPCount 属性的初始值。</param>
 public static Admin_NBPAccumulative CreateAdmin_NBPAccumulative(global::System.Int32 id, global::System.DateTime countTime, global::System.String province, global::System.String cpName, global::System.Int32 nBPCount)
 {
     Admin_NBPAccumulative admin_NBPAccumulative = new Admin_NBPAccumulative();
     admin_NBPAccumulative.ID = id;
     admin_NBPAccumulative.CountTime = countTime;
     admin_NBPAccumulative.Province = province;
     admin_NBPAccumulative.CpName = cpName;
     admin_NBPAccumulative.NBPCount = nBPCount;
     return admin_NBPAccumulative;
 }