Source/Samples/EF5/Tracker.SqlServer.Entities.NET45/Tracker.Designer.cs
/// <summary>
/// Create a new User object.
/// </summary>
/// <param name="id">Initial value of the Id property.</param>
/// <param name="email">Initial value of the Email property.</param>
/// <param name="createdDate">Initial value of the CreatedDate property.</param>
/// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
/// <param name="rowVersion">Initial value of the RowVersion property.</param>
/// <param name="passwordHash">Initial value of the PasswordHash property.</param>
/// <param name="passwordSalt">Initial value of the PasswordSalt property.</param>
/// <param name="isApproved">Initial value of the IsApproved property.</param>
/// <param name="lastActivityDate">Initial value of the LastActivityDate property.</param>
Create a new User object.
Create a new User object .
public static User CreateUser(global::System.Int32 id, global::System.String email, global::System.DateTime createdDate, global::System.DateTime modifiedDate, global::System.Byte[] rowVersion, global::System.String passwordHash, global::System.String passwordSalt, global::System.Boolean isApproved, global::System.DateTime lastActivityDate)
        {
            User user = new User();
            user.Id = id;
            user.Email = email;
            user.CreatedDate = createdDate;
            user.ModifiedDate = modifiedDate;
            user.RowVersion = rowVersion;
            user.PasswordHash = passwordHash;
            user.PasswordSalt = passwordSalt;
            user.IsApproved = isApproved;
            user.LastActivityDate = lastActivityDate;
            return user;
        }
public static User CreateUser ( global :: System . Int32 id , global :: System . String email , global :: System . DateTime createdDate , global :: System . DateTime modifiedDate , global :: System . Byte [ ] rowVersion , global :: System . String passwordHash , global :: System . String passwordSalt , global :: System . Boolean isApproved , global :: System . DateTime lastActivityDate ) { User user = new User ( ) ; user . Id = id ; user . Email = email ; user . CreatedDate = createdDate ; user . ModifiedDate = modifiedDate ; user . RowVersion = rowVersion ; user . PasswordHash = passwordHash ; user . PasswordSalt = passwordSalt ; user . IsApproved = isApproved ; user . LastActivityDate = lastActivityDate ; return user ; }
Create a new User object.
Create a new User object .
id
global::System.Int32
Initial value of the Id property.
Initial value of the Id property .
email
global::System.String
Initial value of the Email property.
Initial value of the Email property .
createdDate
global::System.DateTime
Initial value of the CreatedDate property.
Initial value of the CreatedDate property .
modifiedDate
global::System.DateTime
Initial value of the ModifiedDate property.
Initial value of the ModifiedDate property .
rowVersion
global::System.Byte[]
Initial value of the RowVersion property.
Initial value of the RowVersion property .
passwordHash
global::System.String
Initial value of the PasswordHash property.
Initial value of the PasswordHash property .
passwordSalt
global::System.String
Initial value of the PasswordSalt property.
Initial value of the PasswordSalt property .
isApproved
global::System.Boolean
Initial value of the IsApproved property.
Initial value of the IsApproved property .
lastActivityDate
global::System.DateTime
Initial value of the LastActivityDate property.
Initial value of the LastActivityDate property .