开发者

how can i use ORM tool like My Generation?

开发者 https://www.devze.com 2022-12-23 19:44 出处:网络
i downloaded MyGeneration from net. And run. it has got connection string. \"Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Data Source=localhost \"

i downloaded MyGeneration from net. And run. it has got connection string. "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Data Source=localhost "

on the other hand;

my connection string : Data Source=开发者_StackOverflow.\sqlexpress; Initial Catalog=NetTanitimTest; Integrated Security=True

if i click save or connect button it throws to me connection error. Who used it can you hel p me?


If I am not mistaken, MyGeneration requires an OLEDB connection for schema discovery.

Try something like this:

Provider=SQLOLEDB.1;Server=localhost;Database=myDataBase; Integrated Security=true;

MyGeneration, while a great tool, is not actively developed and the codebase is several years old.

I would recommend trying more contemporary alternatives.

The first that comes to mind is SubSonic. Is dead simple to implement and is extensible.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号