/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Organisation EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrganisation(Organisation organisation) { base.AddObject("Organisation", organisation); }