Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserSet(User user)
 {
     base.AddObject("UserSet", user);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sysVersion">Initial value of the SysVersion property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static User CreateUser(global::System.Int64 id, global::System.Int32 sysVersion, global::System.String name)
 {
     User user = new User();
     user.Id = id;
     user.SysVersion = sysVersion;
     user.Name = name;
     return user;
 }