Epiworx.Data.EntityFramework.Role.CreateRole C# (CSharp) Method

CreateRole() public static method

Create a new Role object.
public static CreateRole ( global roleId, global name, global createdDate ) : Role
roleId global Initial value of the RoleId property.
name global Initial value of the Name property.
createdDate global Initial value of the CreatedDate property.
return Role
        public static Role CreateRole(global::System.Int32 roleId, global::System.String name, global::System.DateTime createdDate)
        {
            Role role = new Role();
            role.RoleId = roleId;
            role.Name = name;
            role.CreatedDate = createdDate;
            return role;
        }