Partial Methods

We all know about Partial Classes (in case you dont know read here) but I was intriqued when I look at LINQ to SQL generated designer.cs. I saw methods like

partial void OnLoaded();

partial  void OnCreated();

After a bit of researching I came to know that these are called as Partial Methods and their implementation is pretty neat. Check out this blog to get an overview about partial method implementation Or check out this blog for a detailed explanation about Partial methods.

Happy Programming!!!

Cheers,

Raja

Advertisements

0 Responses to “Partial Methods”



  1. Leave a Comment

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: