/// <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;
 }
Beispiel #2
0
 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&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailReceiver(EmailReceiver emailReceiver)
 {
     base.AddObject("EmailReceiver", emailReceiver);
 }
Beispiel #4
0
 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);
         }
     }
 }