ForumServer.DataLayer.PostKeyEntity.CreatePostKeyEntity C# (CSharp) Méthode

CreatePostKeyEntity() public static méthode

Create a new PostKeyEntity object.
public static CreatePostKeyEntity ( global postKeyId, global username, global time ) : PostKeyEntity
postKeyId global Initial value of the PostKeyId property.
username global Initial value of the Username property.
time global Initial value of the Time property.
Résultat PostKeyEntity
        public static PostKeyEntity CreatePostKeyEntity(global::System.Int32 postKeyId, global::System.String username, global::System.DateTime time)
        {
            PostKeyEntity postKeyEntity = new PostKeyEntity();
            postKeyEntity.PostKeyId = postKeyId;
            postKeyEntity.Username = username;
            postKeyEntity.Time = time;
            return postKeyEntity;
        }