/// <summary> /// Deprecated Method for adding a new object to the UserEntities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserEntities(UserEntity userEntity) { base.AddObject("UserEntities", 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="password">Initial value of the Password property.</param> public static UserEntity CreateUserEntity(global::System.Int32 id, global::System.String name, global::System.String password) { UserEntity userEntity = new UserEntity(); userEntity.Id = id; userEntity.Name = name; userEntity.Password = password; return userEntity; }