Epiworx.Data.EntityFramework.Note.CreateNote C# (CSharp) Method

CreateNote() public static method

Create a new Note object.
public static CreateNote ( global noteId, global body, global isArchived, global sourceId, global sourceTypeId, global createdBy, global createdDate, global modifiedBy, global modifiedDate ) : Note
noteId global Initial value of the NoteId property.
body global Initial value of the Body property.
isArchived global Initial value of the IsArchived property.
sourceId global Initial value of the SourceId property.
sourceTypeId global Initial value of the SourceTypeId property.
createdBy global Initial value of the CreatedBy property.
createdDate global Initial value of the CreatedDate property.
modifiedBy global Initial value of the ModifiedBy property.
modifiedDate global Initial value of the ModifiedDate property.
return Note
        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;
        }