コード例 #1
0
ファイル: Model.Designer.cs プロジェクト: thomasbrad/testmvc
 /// <summary>
 /// Deprecated Method for adding a new object to the ForwardedEmails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToForwardedEmails(ForwardedEmail forwardedEmail)
 {
     base.AddObject("ForwardedEmails", forwardedEmail);
 }
コード例 #2
0
ファイル: Model.Designer.cs プロジェクト: thomasbrad/testmvc
 /// <summary>
 /// Create a new ForwardedEmail object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static ForwardedEmail CreateForwardedEmail(global::System.Int32 id)
 {
     ForwardedEmail forwardedEmail = new ForwardedEmail();
     forwardedEmail.ID = id;
     return forwardedEmail;
 }