ForumServer.DataLayer.PostEntity.CreatePostEntity C# (CSharp) Method

CreatePostEntity() public static method

Create a new PostEntity object.
public static CreatePostEntity ( global postKeyId, global title, global subforumName ) : PostEntity
postKeyId global Initial value of the PostKeyId property.
title global Initial value of the Title property.
subforumName global Initial value of the SubforumName property.
return PostEntity
        public static PostEntity CreatePostEntity(global::System.Int32 postKeyId, global::System.String title, global::System.String subforumName)
        {
            PostEntity postEntity = new PostEntity();
            postEntity.PostKeyId = postKeyId;
            postEntity.Title = title;
            postEntity.SubforumName = subforumName;
            return postEntity;
        }