Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Organisation object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="organisationName">Initial value of the OrganisationName property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 public static Organisation CreateOrganisation(global::System.Int32 id, global::System.String organisationName, global::System.DateTime dateCreated)
 {
     Organisation organisation = new Organisation();
     organisation.Id = id;
     organisation.OrganisationName = organisationName;
     organisation.DateCreated = dateCreated;
     return organisation;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Organisation EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrganisation(Organisation organisation)
 {
     base.AddObject("Organisation", organisation);
 }