Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Organizations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrganizations(Organization organization)
 {
     base.AddObject("Organizations", organization);
 }
Пример #2
0
 /// <summary>
 /// Create a new Organization object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Organization CreateOrganization(global::System.Int32 id)
 {
     Organization organization = new Organization();
     organization.ID = id;
     return organization;
 }