AspnetPersonalizationperuserDTO Partial Class

A partial data object class for the “Personalizationperuser” 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 AspnetPersonalizationperuser Data Transfer Object.
///

[Serializable]
public partial class AspnetPersonalizationperuserDTO
{
private Guid id;
private bool pathidHasValue;
private Guid pathid;
private bool useridHasValue;
private Guid userid;
private byte[] pagesettings;
private DateTime lastupdateddate;

///

/// The Id.
///

public virtual Guid Id
{
get { return this.id; }
set { this.id = value; }
}

///

/// The Pathid.
///

public virtual Nullable Pathid
{
get
{
if (this.pathidHasValue)
return this.pathid;
else
return null;
}
set
{
if (value.HasValue)
{
this.pathid = value.Value;
this.pathidHasValue = true;
}
else
this.pathidHasValue = false;
}
}

///

/// The Userid.
///

public virtual Nullable Userid
{
get
{
if (this.useridHasValue)
return this.userid;
else
return null;
}
set
{
if (value.HasValue)
{
this.userid = value.Value;
this.useridHasValue = true;
}
else
this.useridHasValue = false;
}
}

///

/// The Pagesettings.
///

public virtual byte[] Pagesettings
{
get { return this.pagesettings; }
set { this.pagesettings = value; }
}

///

/// The Lastupdateddate.
///

public virtual DateTime Lastupdateddate
{
get { return this.lastupdateddate; }
set { this.lastupdateddate = value; }
}

///

/// The default constructor.
///

public AspnetPersonalizationperuserDTO()
{
}
}
}

[/csharp]

Share

Leave a Reply

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