CodeSmith Community
Your Code. Your Way. Faster!

VistaDB 3.0 Schema Provider


posted by JasonBunting
03-02-2007

Downloads: 176
File size: 12.4kB
Views: 1,098
VistaDB 3.0 Schema Provider
A CodeSmith SchemaProvider for VistaDB 3.0 is now available for download here.

Comments

Robert Hinojosa wrote Re: VistaDB 3.0 Schema Provider
on 03-02-2007 6:46 PM
This is a great add! I'll see if I can get some time in the near future to finish this up for the procs if you don't get to it first.
JasonBunting wrote Re: VistaDB 3.0 Schema Provider
on 03-10-2007 1:41 AM
Sounds good - I want to get to it, but am swamped with a million other things at the moment and don't really need the proc support at the moment, so it would be great if you do get to it! I will post here and/or try to email you when I finish it. There are some other things that need to be done too, but for now at least we have this as a starting point. One big change that I made *after* I uploaded that file was support for 1.1 of the .NET framework. The current one uses generics, but since VistaDB 3.0 runs under 1.1, I want to make sure this provider does as well. No biggie really, but something to note.
mwixson wrote Re: VistaDB 3.0 Schema Provider
on 05-07-2007 6:14 AM
I am encountering an error when trying to use the schema provider in CodeSmith 3.2.7 with VistaDB 3.2. I can browse the schema successfully using the provider in CodeSmith's schema provider, but I cannot generate WORM code using the driver? Any help is much appreciated!: System.Exception: Call to GetTableKeys() failed - see inner exception. ---> System.Exception: Call to GetPrimaryKeyMemberColumnNames() failed - see inner exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at SchemaExplorer.VistaDB3SchemaProvider.GetPrimaryKeyMemberColumnNames(String tableName) --- End of inner exception stack trace --- at SchemaExplorer.VistaDB3SchemaProvider.GetPrimaryKeyMemberColumnNames(String tableName) at SchemaExplorer.VistaDB3SchemaProvider.GetTableKeys(String connectionString, TableSchema table) --- End of inner exception stack trace --- at SchemaExplorer.VistaDB3SchemaProvider.GetTableKeys(String connectionString, TableSchema table) at SchemaExplorer.TableSchema.get_Keys() at SchemaExplorer.TableSchema.get_ForeignKeys() at _CodeSmith.MappingFile_cst.__RenderMethod1(TextWriter writer, Control control) at CodeSmith.Engine.DelegateControl.Render(TextWriter writer) at CodeSmith.Engine.Control.RenderChildren(TextWriter writer) at CodeSmith.Engine.CodeTemplate.Render(TextWriter writer) at CodeSmith.Engine.CodeTemplate.RenderToString() at CodeSmith.Gui.CodeTemplateGenerator.f(Object A_0, EventArgs A_1)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems