Ridi Ferdiana

Another Technical Fellows Survivor :)
See also: Other Geeks@INDC

Diary of Newbie..': Data Access Application Blocks December 2005 in Action

Feeling tired tonight, after meet Mr. Z for launch event in Yogyakarta last night, after I study for tomorrow course in campus. I have to do some migrating from Application Blocks July 2005 into December 2005, well when I see the classes there are so many different than I known in July 2005 release version. Anyway I just work around in DAAB here some of my sample and result

Yesterday
using Microsoft.ApplicationBlocks.Data;
Now
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
COMMENT: Great is more logical view than before

Yesterday
System.Data.SqlClient.SqlConnection dbConn;
ds = SqlHelper.ExecuteDataset(dbConn, "GetUserInfo", userID);
Now
sqlDB = new SqlDatabase(strKoneksi);
ds = sqlDB.ExecuteDataSet("GetUserInfo", userID);
COMMENT : WOW now I don't need to using SqlClient great is more independent

The bad thing for everything is i have to migrate all of my code that access db using SqlHelper into SqlDatabase :(

Share this post: | | | |
Posted: Jan 20 2006, 08:22 PM by ridi | with no comments
Filed under:

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 
Are you human?:  


Enter the numbers above: