Search the web
Sign In
New User? Sign Up
altdotnet · Alt Dot.Net Discussions
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
database seeding with .Net   Message List  
Reply | Forward Message #22367 of 23253 |
Hey all,
i was wondering what do you guys use for database seeding (initial data population) from csv or xls files. in rails i'm using the test Fixture in order to
populate from .csv files and it works flawlessly.

i should mention that the data needs to be inserted with pre-defined IDs that are in the data files (csv) even if the column is autogenerated.

any thoughts?

thanks.



Sat Jul 4, 2009 4:34 pm

ndotan
Offline Offline
Send Email Send Email

Forward
Message #22367 of 23253 |
Expand Messages Author Sort by Date

Hey all, i was wondering what do you guys use for database seeding (initial data population) from csv or xls files. in rails i'm using the test Fixture in ...
Dotan N.
ndotan
Offline Send Email
Jul 4, 2009
4:35 pm

... If this seed is just for testing, would load the csv files into memory, and mock your data layer from them. As to inserting with pre-defined identity...
mygroups@...
aztracker1
Offline Send Email
Jul 4, 2009
10:04 pm

But if you actually want to test your database calls, that is fine in .net as well. I've also used Visual Studio Team System Database Edition (VSTS DataDude), ...
Chris Brandsma
c_brandsma
Offline Send Email
Jul 4, 2009
10:25 pm

well basically i need a form of initial data. i do my tests with mocking so i don't need it for testing. the problem is, i'm using several statistical...
Dotan N.
ndotan
Offline Send Email
Jul 5, 2009
8:51 am

What I do right now is insert the test data through my application and then do a database dump. But I don't like this approach very much. It is error prone and...
Gustav Schauwecker
schauwie1981
Offline Send Email
Jul 6, 2009
6:54 am

NDBUnit is what i'm looking for, i think, thanks! On Mon, Jul 6, 2009 at 9:53 AM, Gustav Schauwecker <...
Dotan N.
ndotan
Offline Send Email
Jul 6, 2009
1:14 pm

I just thought I'd point out that "an MSDN subscription" isn't standard. With the MSDN Pro running $1200 and "Visual Studio Team System 2008 Database Edition...
J Wynia
wyniaj
Offline Send Email
Jul 5, 2009
12:51 pm

actually rhino ETL is an interesting proposition. as i remember he uses some sort of library that works nicely with files i may research using that, thanks!...
Dotan N.
ndotan
Offline Send Email
Jul 5, 2009
1:45 pm

+1 for Rhino.ETL I made the wise move of moving from SSIS to Rhino.ETL. One of my better decisions Cheers Paul Cowan Cutting-Edge Solutions (Scotland) ...
Paul Cowan
dagda1970
Offline Send Email
Jul 5, 2009
1:50 pm

Rhino ETL uses the FileHelpers library to handle files, and provides some extensions which make it easy to work with....
Simone Busoli
simone.busoli
Offline Send Email
Jul 5, 2009
3:03 pm

No it isn't standard...but nothing else is either. Anyway, there are a lot of people with access to those tools, but don't know it. RedGates tools are also...
Chris Brandsma
c_brandsma
Offline Send Email
Jul 5, 2009
4:05 pm

Don't buy MSDN at retail. Talk to your local Microsoft rep. They'll work with you. Also the 10k is only the initial year. Renewals are significantly less. Even...
Michael D. Brown
mbrebrown
Offline Send Email
Jul 5, 2009
4:38 pm

I don't actually pay retail and am actually a member of the Partner program (the Microsoft Action Pack is one of the better deals in software: 10 prod Office...
J Wynia
wyniaj
Offline Send Email
Jul 5, 2009
5:40 pm

Ahhhh...I see what you're saying. Agreed, I think people should qualify what they mean when they say MSDN Subscription because it goes as low as "library"...
Michael D. Brown
mbrebrown
Offline Send Email
Jul 5, 2009
5:53 pm

I used NDBUnit before... It does the job, if you're happy with XMLs...
Hendry Luk
hendrypa
Offline Send Email
Jul 6, 2009
1:45 am

Just to be clear.. you don't have to deal with the XML files yourself. It uses standard dataset-xsd, so you can use visual studio dataset-editor and C# code to...
Hendry Luk
hendrypa
Offline Send Email
Jul 6, 2009
1:48 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help