开发者

What Replaced Database.ExecuteDataSet

开发者 https://www.devze.com 2023-03-25 11:51 出处:网络
According to Microsoft Website on Database.ExecutedDataSet method http://msdn.microsoft.com/en-us/library/microsoft.practices.enterpriselibrary.data.database.executedataset(v=pandp.31).aspx

According to Microsoft Website on Database.ExecutedDataSet method

http://msdn.microsoft.com/en-us/library/microsoft.practices.enterpriselibrary.data.database.executedataset(v=pandp.31).aspx

Retired Content 
This conten开发者_开发百科t is outdated and is no longer being maintained. It is provided as a 
courtesy for individuals who are still using these technologies. This page may 
contain URLs that were valid when originally published, but now link to sites 
or pages that no longer exist.

So my question is what is the latest and greatest perferred method to fill a DataSet or DataTable?


Microsoft wants you to use a DataReader or DataAdapter, here's Microsoft's page on filling a DataSet. It uses the Fill method on a DataAdapter.

You could then use the Add method to add DataRows to that DataSet.


v5 still has it.


"This content is outdated" in this case means that you are looking in old documentation of entlib.

EDIT: Method is not outdated nor replaced. It still exists in new version of entlib.

EDIT2: And the method is not deprecated.

0

精彩评论

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