Пример #1
0
 /// <summary>
 /// 用于向 IPEntities EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToIPEntities(IPEntity iPEntity)
 {
     base.AddObject("IPEntities", iPEntity);
 }
Пример #2
0
 /// <summary>
 /// 创建新的 IPEntity 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="iPStart">IPStart 属性的初始值。</param>
 /// <param name="iPEnd">IPEnd 属性的初始值。</param>
 public static IPEntity CreateIPEntity(global::System.Int32 id, global::System.String iPStart, global::System.String iPEnd)
 {
     IPEntity iPEntity = new IPEntity();
     iPEntity.ID = id;
     iPEntity.IPStart = iPStart;
     iPEntity.IPEnd = iPEnd;
     return iPEntity;
 }