Esempio n. 1
0
        /// <summary>
        /// Create a new RegisterDataEntity object.
        /// </summary>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="userName">Initial value of the UserName property.</param>
        /// <param name="password">Initial value of the Password property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        public static RegisterDataEntity CreateRegisterDataEntity(global::System.Int32 userId, global::System.String userName, global::System.String password, global::System.String name)
        {
            RegisterDataEntity registerDataEntity = new RegisterDataEntity();

            registerDataEntity.UserId   = userId;
            registerDataEntity.UserName = userName;
            registerDataEntity.Password = password;
            registerDataEntity.Name     = name;
            return(registerDataEntity);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RegisterDataEntities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegisterDataEntities(RegisterDataEntity registerDataEntity)
 {
     base.AddObject("RegisterDataEntities", registerDataEntity);
 }