Epiworx.Data.EntityFramework.Source.CreateSource C# (CSharp) Method

CreateSource() public static method

Create a new Source object.
public static CreateSource ( global sourceId, global sourceTypeId, global name, global createdDate, global modifiedDate ) : Source
sourceId global Initial value of the SourceId property.
sourceTypeId global Initial value of the SourceTypeId property.
name global Initial value of the Name property.
createdDate global Initial value of the CreatedDate property.
modifiedDate global Initial value of the ModifiedDate property.
return Source
        public static Source CreateSource(global::System.Int32 sourceId, global::System.Int32 sourceTypeId, global::System.String name, global::System.DateTime createdDate, global::System.DateTime modifiedDate)
        {
            Source source = new Source();
            source.SourceId = sourceId;
            source.SourceTypeId = sourceTypeId;
            source.Name = name;
            source.CreatedDate = createdDate;
            source.ModifiedDate = modifiedDate;
            return source;
        }