Bug with Inheritance and TypeOf<>
New test.
Merge branch 'pr/n48_jack128' into dev
New test.
Fixed FROM formatting.
Fixed type conversion bug in GetAttributes method.
Test Added
Issue fixed
AssociationInHeirarhy bug
add new test
Linq Insert with subqueries that contains Where

[Test]
		public void Insert14()
		{
			ForEachProvider(db =>
			{
				try
				{
					db.Person.Delete(p => p.FirstName.StartsWith("Insert14"));

					Assert.AreEqual(1,
						db.Person
						.Insert(() => new Person
						{
							FirstName = "Insert14" + db.Person.Where(p => p.ID == 1).Select(p => p.FirstName).FirstOrDefault(),
							LastName = "Shepard",
							Gender = Gender.Male
						}));

					Assert.AreEqual(1, db.Person.Count(p => p.FirstName.StartsWith("Insert14")));
				}
				finally
				{
					db.Person.Delete(p => p.FirstName.StartsWith("Insert14"));
				}
			});
		}
Working on #48.
Fixed #48. Closes #48.
Merge branch 'dev'
Merge branch 'master' into pr/n52_MaceWindu
Closes #52.
Merge branch 'master' into dev
Merge branch 'dev' into pr/n53_jack128
Fixed #57. Closes #57.
CORRECTION: the VB template translates the one to one foreign keys as if it were one to many.
for example in the table Products, the FK to Categories was generated

		Private _Category As IEnumerable(Of Category)

instead of the correct 

		Private _Category As Category

To reproduce the error

1. edit the file linq/demo/datamodel/Northwind.tt and add the 5 line
<#@ include file="vb.ttinclude"     #>
2. copy VB.ttinclude file from templates
3. regenerate Northwind.generated.vb