/*
* 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>
/// Summary description for TableJoin.
/// </summary>
public enum TableJoinType{InnerJoin = 1, LeftJoin = 2, RightJoin = 3};
public class TableJoin
{
protected int l_MasterTableIndex;
protected RelationPropertyMapping [] l_RelationMapping;
protected TableJoinType l_JoinType;
public TableJoin(int p_MasterTableIndex, RelationPropertyMapping [] p_RelationMapping, TableJoinType p_JoinType)
{
l_MasterTableIndex = p_MasterTableIndex;
l_RelationMapping = p_RelationMapping;
l_JoinType = p_JoinType;
}
public int MasterTableIndex
{
get{return l_MasterTableIndex;}
set{l_MasterTableIndex = value;}
}
public RelationPropertyMapping [] RelationMapping
{
get{return l_RelationMapping;}
set{l_RelationMapping = value;}
}
public TableJoinType JoinType
{
get{return l_JoinType;}
set{l_JoinType = value;}
}
}
}
|