I would like to know if this is being done correctly.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Text;
public class InnerJoinTables
{
public List<InnerJoinTable> Items = new List<InnerJoinTable>();
}
public class InnerJoinTable
{
public int ID { get; set; }
public string RightTable { get; set; }
public string LeftTable { get; set; }
public InnerJoinTable(int ID, string RightTable, string LeftTable)
{
this.ID = ID;
this.RightTable = RightTable;
this.LeftTable = LeftTable;
}
}
Calling code:
InnerJoinTables m = new InnerJoinTables();
m.Items.Add(new InnerJoinTable(1, "A", "B"));