public static CreateComment ( global id, global text, global created, global userId ) : |
||
id | global | Initial value of the Id property. |
text | global | Initial value of the Text property. |
created | global | Initial value of the Created property. |
userId | global | Initial value of the UserId property. |
return |
public static Comment CreateComment(global::System.Int32 id, global::System.String text, global::System.DateTime created, global::System.Int32 userId)
{
Comment comment = new Comment();
comment.Id = id;
comment.Text = text;
comment.Created = created;
comment.UserId = userId;
return comment;
}