/// <summary> /// Create a new EmailForm object. /// </summary> /// <param name="emailFormId">Initial value of the EmailFormId property.</param> public static EmailForm CreateEmailForm(global::System.Guid emailFormId) { EmailForm emailForm = new EmailForm(); emailForm.EmailFormId = emailFormId; return emailForm; }
public void Update(EmailForm obj, out OperationResult operationResult) { lock (Lock) { if (obj == null) { operationResult = new OperationResult { Type = OperationResult.ResultType.Warning }; return; } Common.Instance.Update (obj, objs => objs.EmailFormId == obj.EmailFormId && objs.LanguageId == obj.LanguageId, out operationResult); } }
/// <summary> /// Deprecated Method for adding a new object to the EmailForm EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmailForm(EmailForm emailForm) { base.AddObject("EmailForm", emailForm); }
public void Insert(EmailForm obj, out OperationResult operationResult) { lock (Lock) { if (obj == null) { operationResult = new OperationResult { Type = OperationResult.ResultType.Warning }; } else { Common.Instance.Insert(obj, out operationResult); } } }