Release 1.3

Rating:        Based on 2 ratings
Reviewed:  2 reviews
Downloads: 4921
Change Set: 69620
Released: Aug 21, 2011
Updated: Sep 11, 2011 by SergeyBarskiy
Dev status: Beta Help Icon

Recommended Download

Source Code SourceCodeAndBinaries
source code, 3214K, uploaded Aug 21, 2011 - 3413 downloads

Other Available Downloads

Documentation Documentation
documentation, 236K, uploaded Aug 21, 2011 - 1508 downloads

Release Notes

Implement the most request feature, specifically named tables. In other words, right now you can create a table in my database and give it a type of data to store, such as :

db.CreateTable<Person>();

What named tables allow you to do, is horizontally partition your data by allowing multi0ple tables to store the same type, such as:

string name2 = "p2";
Database db = Database.CreateDatabase("test");
db.CreateTable<Person>(name1);


So, the syntax pretty much remains the same, so anywhere you used to refer to db.Table<T>, you can now also use db.Table<T>(tableName). This includes all functions, such as adding of rows and querying.

db.Table<Person>(name1).Add(NewRandomPerson());


Nothing else changes. One thing to notice, that this is pretty deep change that required me to touch a lot of code and test legacy data to ensure it opens properly. As always, I did my due diligence, as you can gather from the tiny number of reported issues in over a year of usage. Nevertheless, I encourage everyone to thoroughly test your applications. You can open up my test project and see how I tested legacy data by looking at the method NamedTablesLegacyTest in my test page in test project. As a result, I am going to publish this release under alpha version until I get some feedback that is sufficient enough to warrant beta status.

I made another small change, making DoesTableExist method public.
Please provide the feedback.
Thank you

Reviews for this release

     
Sergey, I want to tell you, that this is really an awesome piece of work. I hope you will continue this. Thank you :-)
by embeducation on Jul 15, 2012 at 10:37 AM
     
hi my name is ganaa
by ganbayarcodeplex on May 28, 2012 at 11:06 AM