コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RegionInfos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegionInfos(RegionInfo regionInfo)
 {
     base.AddObject("RegionInfos", regionInfo);
 }
コード例 #2
0
 /// <summary>
 /// Create a new RegionInfo object.
 /// </summary>
 /// <param name="sysName">Initial value of the SysName property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="local">Initial value of the Local property.</param>
 /// <param name="phone">Initial value of the Phone property.</param>
 /// <param name="eMail">Initial value of the EMail property.</param>
 public static RegionInfo CreateRegionInfo(global::System.String sysName, global::System.Boolean isActive, global::System.String name, global::System.String body, global::System.Int32 id, global::System.String local, global::System.String phone, global::System.String eMail)
 {
     RegionInfo regionInfo = new RegionInfo();
     regionInfo.SysName = sysName;
     regionInfo.IsActive = isActive;
     regionInfo.Name = name;
     regionInfo.Body = body;
     regionInfo.Id = id;
     regionInfo.Local = local;
     regionInfo.Phone = phone;
     regionInfo.EMail = eMail;
     return regionInfo;
 }