Epiworx.Data.EntityFramework.SourceType.CreateSourceType C# (CSharp) Method

CreateSourceType() public static method

Create a new SourceType object.
public static CreateSourceType ( global sourceTypeId, global name, global createdDate ) : SourceType
sourceTypeId global Initial value of the SourceTypeId property.
name global Initial value of the Name property.
createdDate global Initial value of the CreatedDate property.
return SourceType
        public static SourceType CreateSourceType(global::System.Int32 sourceTypeId, global::System.String name, global::System.DateTime createdDate)
        {
            SourceType sourceType = new SourceType();
            sourceType.SourceTypeId = sourceTypeId;
            sourceType.Name = name;
            sourceType.CreatedDate = createdDate;
            return sourceType;
        }