none
additional methods in addition to POCO generated code RRS feed

  • Question

  • can anyone please help with some examples how I can extend the POCO generaeted classes with my own methods. e.g.

    I want to be able to define a new method in Address.cs class called "GetAddressBySuburb()", which calles "context.addresses.Where(a=>a.Suburb == "East");".

    thanks in advance

    Tuesday, May 8, 2012 8:36 AM

Answers