/// <summary> /// Deprecated Method for adding a new object to the SMS EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSMS(SM sM) { base.AddObject("SMS", sM); }
/// <summary> /// Create a new SM object. /// </summary> /// <param name="id">Initial value of the id property.</param> public static SM CreateSM(global::System.Int32 id) { SM sM = new SM(); sM.id = id; return sM; }
public void UpdateSM(SM currentSM) { this.ObjectContext.SMS.AttachAsModified(currentSM, this.ChangeSet.GetOriginal(currentSM)); }