Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Regions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegions(Region region)
 {
     base.AddObject("Regions", region);
 }
Пример #2
0
 /// <summary>
 /// Create a new Region object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sysName">Initial value of the SysName property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="phone">Initial value of the Phone property.</param>
 /// <param name="eMail">Initial value of the EMail property.</param>
 public static Region CreateRegion(global::System.Int32 id, global::System.String sysName, global::System.Boolean isActive, global::System.String phone, global::System.String eMail)
 {
     Region region = new Region();
     region.Id = id;
     region.SysName = sysName;
     region.IsActive = isActive;
     region.Phone = phone;
     region.EMail = eMail;
     return region;
 }