/// <summary> /// Deprecated Method for adding a new object to the SmoSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSmoSet(Smo smo) { base.AddObject("SmoSet", smo); }
/// <summary> /// Create a new Smo object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="name">Initial value of the Name property.</param> public static Smo CreateSmo(global::System.Int32 id, global::System.String code, global::System.String name) { Smo smo = new Smo(); smo.Id = id; smo.Code = code; smo.Name = name; return smo; }