/*
* 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{
/// <summary>
/// Database table Definition
/// </summary>
public class DBTable
{
protected string l_TableName;
protected string l_Alias;
protected TableJoin [] l_TableJoins;
public DBTable(string p_TableName)
{
l_TableName = p_TableName;
}
public DBTable(string p_TableName, string p_Alias):this(p_TableName)
{
l_Alias = p_Alias;
}
public DBTable(string p_TableName, TableJoin [] p_TableJoins):this(p_TableName)
{
l_TableJoins = p_TableJoins;
}
public DBTable(string p_TableName, TableJoin [] p_TableJoins, string p_Alias):this(p_TableName, p_TableJoins)
{
l_Alias = p_Alias;
}
public string TableName
{
get{return l_TableName;}
set{l_TableName = value;}
}
public string Alias
{
get{return l_Alias;}
set{l_Alias = value;}
}
public TableJoin [] TableJoins
{
get{return l_TableJoins;}
set{l_TableJoins = value;}
}
}
}
|