示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the optouts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTooptouts(optout optout)
 {
     base.AddObject("optouts", optout);
 }
示例#2
0
 /// <summary>
 /// Create a new optout object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 public static optout Createoptout(global::System.Int32 id, global::System.String email, global::System.DateTime stamp)
 {
     optout optout = new optout();
     optout.ID = id;
     optout.Email = email;
     optout.stamp = stamp;
     return optout;
 }