/// <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); }
/// <summary> /// Create a new organisation object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="parentOrgID">Initial value of the ParentOrgID property.</param> public static organisation Createorganisation(global::System.Int32 id, global::System.DateTime lastModified, global::System.Int64 parentOrgID) { organisation organisation = new organisation(); organisation.ID = id; organisation.LastModified = lastModified; organisation.ParentOrgID = parentOrgID; return organisation; }