예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RegionLocals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegionLocals(RegionLocal regionLocal)
 {
     base.AddObject("RegionLocals", regionLocal);
 }
예제 #2
0
 /// <summary>
 /// Create a new RegionLocal object.
 /// </summary>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 /// <param name="localId">Initial value of the LocalId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 public static RegionLocal CreateRegionLocal(global::System.Int32 regionId, global::System.Int32 localId, global::System.String name, global::System.String body)
 {
     RegionLocal regionLocal = new RegionLocal();
     regionLocal.RegionId = regionId;
     regionLocal.LocalId = localId;
     regionLocal.Name = name;
     regionLocal.Body = body;
     return regionLocal;
 }