Epiworx.Business.Note.FetchNote C# (CSharp) Method

FetchNote() static private method

static private FetchNote ( NoteData data ) : Note
data NoteData
return Note
        internal static Note FetchNote(NoteData data)
        {
            var result = new Note();

            result.Fetch(data);
            result.MarkOld();

            return result;
        }

Same methods

Note::FetchNote ( NoteDataCriteria criteria ) : Note

Usage Example

Example #1
0
 public static Note NoteFetch(int noteId)
 {
     return(Note.FetchNote(
                new NoteDataCriteria
     {
         NoteId = noteId
     }));
 }