/// <summary> /// Create a new Office object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="address">Initial value of the Address property.</param> public static Office CreateOffice(global::System.Int32 id, global::System.String name, global::System.String address) { Office office = new Office(); office.Id = id; office.Name = name; office.Address = address; return office; }
/// <summary> /// Deprecated Method for adding a new object to the OfficeSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfficeSet(Office office) { base.AddObject("OfficeSet", office); }