AspnetRolesDTO Partial Class

A partial data object class for the “Roles” table in the ASP.NET 2.0 provider database. The relevant data transfer objects contain only the serializable data of a data object.

[csharp]

//*****************************************************************************
// This file is part of the data access layer example to the ASP.NET 2.0 provider database
// This file was written by Adam Buenz [WSS MVP] of ARB Security Solutions, LLC
//                  http://www.sharepointsecurity.com
//
// This file and its parts is free for re-distribution, for use in both free
// and commercial applications, however this header must remain intact for legal
// use. The data access layer example is distributed in the hope that it will
// be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//*****************************************************************************
using System;

namespace Aspnet.Provider.Datalayer.DataTransferObjects
{
        /// <summary>
        /// The AspnetRoles Data Transfer Object.
        /// </summary>
        [Serializable]
        public partial class AspnetRolesDTO
        {
                private Guid applicationid;
                private Guid roleid;
                private string rolename;
                private string loweredrolename;
                private string description;

                /// <summary>
                /// The Applicationid.
                /// </summary>
                public virtual Guid Applicationid
                {
                        get { return this.applicationid; }
                        set { this.applicationid = value; }
                }

                /// <summary>
                /// The Roleid.
                /// </summary>
                public virtual Guid Roleid
                {
                        get { return this.roleid; }
                        set { this.roleid = value; }
                }

                /// <summary>
                /// The Rolename.
                /// </summary>
                public virtual string Rolename
                {
                        get { return this.rolename; }
                        set { this.rolename = value; }
                }

                /// <summary>
                /// The Loweredrolename.
                /// </summary>
                public virtual string Loweredrolename
                {
                        get { return this.loweredrolename; }
                        set { this.loweredrolename = value; }
                }

                /// <summary>
                /// The Description.
                /// </summary>
                public virtual string Description
                {
                        get { return this.description; }
                        set { this.description = value; }
                }

                /// <summary>
                /// The default constructor.
                /// </summary>
                public AspnetRolesDTO()
                {
                }
        }
}

 

[/csharp]

Share

Leave a Reply

Your email address will not be published. Required fields are marked *