Refactored SchemaLoader.GatherColumnAndPropertyDefs, removing parameters no longer in use.
Introduced new HostedColumn class in Starcounter.Binding, representing a column in a table, as it is known to the runtime host.
First steps beginning to redesign the TypeDef to keep a set of HostedColumn instances.
First steps introducing the new HostedColumn feature in the SchemaLoader.
Introduced new private TypeDef ctor that will eventually replace the public one in favor of the factory method DefineNew.
Adapted SchemaLoader to add a HostedColumn for the implicit "__id" column and to use the new TypeDef factory method when creating a TypeDef.
Introduced new metadata helper class MetadataBindingHelper with code that are to be moved from TypeDef since it's way to metadata-specific.
Removed methods CreateTypeTableDef and PopulatePropertyDef from TypeDef and redirected all calls to these to new corresponding methods in MetadataBindingHelper class.
Added method AssertHostedColumnsAreInSynchWithColumns to TypeDef and asserted it returns true when a new TypeDef is created.
Added protected TypeDef default ctor to allow specializing classes to construct "empty" instances.
Introduced new internal type TypeDefBuilder that redesign how metadata TypeDef instances are generated from stored TableDef's. The previous implementation violated constraints by setting values that should really be private and goverened by the TypeDef class.
Removed final dependencies on obsolete TypeDef.ColumnRuntimeTypes and the array itself. This is fully replaced by the HostedColums array.
Fixed TypeDef.DefineNew to always refresh the TypeDef before returned.
Rewrote how metadata TypeDefBuilder instances are converted to "real" TypeDefs, now assured to be done recursively.
Changed the implementation of MetadataPopulation.CreateColumnInstances to use new HostedColumn instance to determine the column type from that rather than a property (that might not exist, due to a private field). This essentially fix #2061.
Fixed errornous XML comment.
Merge branch 'issue/2061' into next. This set of commits contains quite a large redesign regarding metadata binding finally makes it possible to once again use private fields in database classes (and hence #2061 can be considered fixed).