Source/Samples/EF5/Tracker.SqlServer.Entities.NET45/Tracker.Designer.cs
/// <summary>
/// Create a new Audit object.
/// </summary>
/// <param name="id">Initial value of the Id property.</param>
/// <param name="date">Initial value of the Date property.</param>
/// <param name="content">Initial value of the Content property.</param>
/// <param name="username">Initial value of the Username property.</param>
/// <param name="createdDate">Initial value of the CreatedDate property.</param>
/// <param name="rowVersion">Initial value of the RowVersion property.</param>
Create a new Audit object.
Create a new Audit object .
public static Audit CreateAudit(global::System.Int32 id, global::System.DateTime date, global::System.String content, global::System.String username, global::System.DateTime createdDate, global::System.Byte[] rowVersion)
        {
            Audit audit = new Audit();
            audit.Id = id;
            audit.Date = date;
            audit.Content = content;
            audit.Username = username;
            audit.CreatedDate = createdDate;
            audit.RowVersion = rowVersion;
            return audit;
        }
public static Audit CreateAudit ( global :: System . Int32 id , global :: System . DateTime date , global :: System . String content , global :: System . String username , global :: System . DateTime createdDate , global :: System . Byte [ ] rowVersion ) { Audit audit = new Audit ( ) ; audit . Id = id ; audit . Date = date ; audit . Content = content ; audit . Username = username ; audit . CreatedDate = createdDate ; audit . RowVersion = rowVersion ; return audit ; }
Create a new Audit object.
Create a new Audit object .
id
global::System.Int32
Initial value of the Id property.
Initial value of the Id property .
date
global::System.DateTime
Initial value of the Date property.
Initial value of the Date property .
content
global::System.String
Initial value of the Content property.
Initial value of the Content property .
username
global::System.String
Initial value of the Username property.
Initial value of the Username property .
createdDate
global::System.DateTime
Initial value of the CreatedDate property.
Initial value of the CreatedDate property .
rowVersion
global::System.Byte[]
Initial value of the RowVersion property.
Initial value of the RowVersion property .