/// <summary> /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers(UserEntity userEntity) { base.AddObject("Users", userEntity); }
/// <summary> /// Create a new UserEntity object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="lastLogin">Initial value of the LastLogin property.</param> public static UserEntity CreateUserEntity(global::System.Int64 id, global::System.String name, global::System.DateTime created, global::System.DateTime lastLogin) { UserEntity userEntity = new UserEntity(); userEntity.Id = id; userEntity.Name = name; userEntity.Created = created; userEntity.LastLogin = lastLogin; return userEntity; }