/*
* Namespace Summary
* Copyright (C) 2005+ Bogdan Damian Constantin
* E-Mail: damianbcpetro@gmail.com
* WEB: http://www.sourceforge.net/projects/dataholder
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License 2.1 or later, as
* published by the Free Software Foundation. See the included License.txt
* or http://www.gnu.org/copyleft/lesser.html for details.
*
*/
using System;
namespace DataHolder.DataPersistence.DBAProvider.Properties{
public enum IdentityType{Normal = 0, Custom = 1};
/// <summary>
/// It is a table persistence field for an identity column
/// </summary>
public class IdentityPersistenceField:TablePersistenceField
{
protected IdentityType l_TypeofIdentity;
public IdentityPersistenceField(string p_PropertyName, IdentityType p_TypeofIdentity, int p_TableIndex, string p_FieldName, string p_Alias)
:base(p_PropertyName, p_TableIndex, p_FieldName, p_Alias)
{
l_TypeofIdentity = p_TypeofIdentity;
}
public IdentityType TypeofIdentity
{
get
{
return l_TypeofIdentity;
}
}
}
}
|