/// <summary> /// Create a new Organization object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="iNN">Initial value of the INN property.</param> /// <param name="instructorId">Initial value of the InstructorId property.</param> public static Organization CreateOrganization(global::System.Int32 id, global::System.String name, global::System.String iNN, global::System.Int32 instructorId) { Organization organization = new Organization(); organization.Id = id; organization.Name = name; organization.INN = iNN; organization.InstructorId = instructorId; return organization; }
/// <summary> /// Deprecated Method for adding a new object to the Organizations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrganizations(Organization organization) { base.AddObject("Organizations", organization); }