Skip to content
February 29, 2008 / kiranpatils

Why ObjectContainerDataSource?+WCSF

Why ObjectContainerDataSource?

–> for strictrly following MVP.

–> Why not we use ObjectDataSource or SqlDataSource?
ObjectDataSource = it binds up with Custom object or Business entiy some where in Middle tier. which we don’ want.
SqlDataSource = when you do onSelecting,OnInserting,OnUpdating etc. events it fires to sql server.

–>where our Hero-ObjectContainerDataSource fires the event OnSelecting,OnInserting,OnUpdating event on thise event a page can
register a Presnter method here for the operations.

That’ why we use ObjectContainerDataSource..

if Some one has more views to share pls do it

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: