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