/// <summary> /// Create a new Base object. /// </summary> /// <param name="baseID">Initial value of the BaseID property.</param> /// <param name="firmID">Initial value of the FirmID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="address">Initial value of the Address property.</param> public static Base CreateBase(global::System.Int32 baseID, global::System.Int32 firmID, global::System.String name, global::System.String address) { Base @base = new Base(); @base.BaseID = baseID; @base.FirmID = firmID; @base.Name = name; @base.Address = address; return @base; }
/// <summary> /// Deprecated Method for adding a new object to the Base EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBase(Base @base) { base.AddObject("Base", @base); }