コード例 #1
0
 /// <summary>
 /// Create a new Office object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static Office CreateOffice(global::System.Int32 id, global::System.String name, global::System.String address)
 {
     Office office = new Office();
     office.Id = id;
     office.Name = name;
     office.Address = address;
     return office;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OfficeSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOfficeSet(Office office)
 {
     base.AddObject("OfficeSet", office);
 }