コード例 #1
0
 /// <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;
 }
コード例 #2
0
ファイル: EmailFormService.cs プロジェクト: Artnman/Cloud
 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);
     }
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmailForm EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailForm(EmailForm emailForm)
 {
     base.AddObject("EmailForm", emailForm);
 }
コード例 #4
0
ファイル: EmailFormService.cs プロジェクト: Artnman/Cloud
 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);
         }
     }
 }