/// <summary> /// Create a new SBU object. /// </summary> /// <param name="sBUID">Initial value of the SBUID property.</param> /// <param name="name">Initial value of the Name property.</param> public static SBU CreateSBU(global::System.Int32 sBUID, global::System.String name) { SBU sBU = new SBU(); sBU.SBUID = sBUID; sBU.Name = name; return sBU; }
/// <summary> /// Deprecated Method for adding a new object to the SBUs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSBUs(SBU sBU) { base.AddObject("SBUs", sBU); }