AspnetProfileDTO Partial Class

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

[Serializable]
public partial class AspnetProfileDTO
{
private Guid userid;
private string propertynames;
private string propertyvaluesstring;
private byte[] propertyvaluesbinary;
private DateTime lastupdateddate;

///

/// The Userid.
///

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

///

/// The Propertynames.
///

public virtual string Propertynames
{
get { return this.propertynames; }
set { this.propertynames = value; }
}

///

/// The Propertyvaluesstring.
///

public virtual string Propertyvaluesstring
{
get { return this.propertyvaluesstring; }
set { this.propertyvaluesstring = value; }
}

///

/// The Propertyvaluesbinary.
///

public virtual byte[] Propertyvaluesbinary
{
get { return this.propertyvaluesbinary; }
set { this.propertyvaluesbinary = value; }
}

///

/// The Lastupdateddate.
///

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

///

/// The default constructor.
///

public AspnetProfileDTO()
{
}
}
}

[/csharp]

Share

Leave a Reply

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