AspnetUsersinrolesDTO Partial Class

A partial data object class for the “Usersinroles” 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
{
///
/// The AspnetUsersinroles Data Transfer Object.
///
[Serializable]
public partial class AspnetUsersinrolesDTO
{
private Guid userid;
private Guid roleid;

///
/// The Userid.
///
public virtual Guid Userid
{
get { return this.userid; }
set { this.userid = value; }
}

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

///
/// The default constructor.
///
public AspnetUsersinrolesDTO()
{
}
}
}

[/csharp]

Share

Leave a Reply

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