CodeSmith Community
Your Code. Your Way. Faster!

SQL 2005 CE Provider 1 Beta Release - Includes source

Latest post 03-27-2008 7:06 PM by kcam22. 4 replies.
  • 03-16-2007 11:45 AM

    • evolved
    • Top 50 Contributor
    • Joined on 12-27-2004
    • South River, NJ
    • Posts 88
    • Points 1,740

    SQL 2005 CE Provider 1 Beta Release - Includes source

    Hey everyone, I've seen a lot of demand for this provider on the forums, and needed it in a project myself. As of right now it's still in beta. Most of what you can actually do with SQL CE is included, but I have not wired up the .Keys (except .PrimaryKey), due to a lack of any relational data inside of CE yet. I assure you that I will eventually add the foreign key stuff, but right now I figured I'd release this version of the schema provider.

    To add this to your codesmith installation, you are going to have to edit a config file in your application data/codesmith folder, there is more information about that process in other posts.

    Please let me know of any bugs. Source code is included, and it's sloppy, but it gets the job done.
    ------------------------------ http://www.jheidt.com ------------------------------ Member of the .NetTiers team http://www.nettiers.com ------------------------------
    • Post Points: 35
  • 08-29-2007 11:58 AM In reply to

    • Serguei
    • Not Ranked
    • Joined on 08-29-2007
    • Posts 1
    • Points 35

    Re: SQL 2005 CE Provider 1 Beta Release - Includes source

    Hi evolved,

    I want to try your sqlce provider but cannot figure out how to properly edit a config file in order to get that schema provider included with codesmith installation. Could you, please, post a more detailed explanation for that? 

     

    Thanks. 

     

     

    • Post Points: 35
  • 08-29-2007 1:22 PM In reply to

    • evolved
    • Top 50 Contributor
    • Joined on 12-27-2004
    • South River, NJ
    • Posts 88
    • Points 1,740

    Re: SQL 2005 CE Provider 1 Beta Release - Includes source

    Search the forum, theres dedicated posts to this process (its what i did) 

    ------------------------------ http://www.jheidt.com ------------------------------ Member of the .NetTiers team http://www.nettiers.com ------------------------------
    • Post Points: 5
  • 09-19-2007 1:52 PM In reply to

    • evolved
    • Top 50 Contributor
    • Joined on 12-27-2004
    • South River, NJ
    • Posts 88
    • Points 1,740

    Re: SQL 2005 CE Provider 1 Beta Release - Includes source

    Well i see tons of posts on the addin forum here asking why a schema provider isnt working. Here's the instructions I read on this forum just a few months ago (i cant find the post)

    Goto: C:\Documents and Settings\<YOUR LOGIN>\Application Data\CodeSmith\v4.0,

    edit SchemaExplorer.config, goto the  <schemaProviders> section, and add in the full name of your schema provider following the existing format, for this provider that format is:

     

    <schemaProvider>JHeidt.CodeSmith.SchemaProviders.SqlCompactSchemaProvider, JHeidt.CodeSmith.SchemaProviders, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</schemaProvider> 

    Save. Open codesmith, if done correctly your schema provider should now show up in the drop down, if not - you've done something wrong, or the schema provider is busted.

     

     

    ------------------------------ http://www.jheidt.com ------------------------------ Member of the .NetTiers team http://www.nettiers.com ------------------------------
    • Post Points: 35
  • 03-27-2008 7:06 PM In reply to

    • kcam22
    • Not Ranked
    • Joined on 03-27-2008
    • Posts 1
    • Points 5

    Re: SQL 2005 CE Provider 1 Beta Release - Includes source

    Thanks for this post.  I'm running Vista and had to dig to find the file. 

     in case anyone else is looking for it...C:\Users\<Login>\AppData\Roaming\CodeSmith\v4.x

     

    • Post Points: 5
Page 1 of 1 (5 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems