public static Note CreateNote(global::System.Int32 noteId, global::System.String body, global::System.Boolean isArchived, global::System.Int32 sourceId, global::System.Int32 sourceTypeId, global::System.Int32 createdBy, global::System.DateTime createdDate, global::System.Int32 modifiedBy, global::System.DateTime modifiedDate)
{
Note note = new Note();
note.NoteId = noteId;
note.Body = body;
note.IsArchived = isArchived;
note.SourceId = sourceId;
note.SourceTypeId = sourceTypeId;
note.CreatedBy = createdBy;
note.CreatedDate = createdDate;
note.ModifiedBy = modifiedBy;
note.ModifiedDate = modifiedDate;
return note;
}