• Code
  • Tags
  • Users
  • Titles
  • Log in
  • Feedback
  • FAQ
Share Code
Welcome to ForkCan.com

ForkCan is all about sharing code in a social way.

Discuss, debate or argue with other devs about their or your own code.

Give other devs feedback or make a Fork (Make a better version of a shared code).

Rate the code, if you use the code mark it as used so others can see if the shared code is used by someone.

Help each other to be better devs and to be more productive.


Features not working yet:

Flag a post

Tagged code 'ef4.0' feeds
Latest activity

Tagged Code

Views Used Newest Oldest

693
Views
Loading Strategy for Entity Framework 4.0
By @fredrikn "I'm the master"  July 25, 2010 10:41 AM

"Loading strategy for specifying how to load data, for example eager loading and define queries etc."
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

1 0 0 0


1.36k
Views
Keep Entity Framework ObjectContext in a WCF Service OperationContext
By @fredrikn "I'm the master"  July 14, 2010 7:49 AM

"This code can be used to keep a ObjectContext live during a WCF Service OperationContext."
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

objectcontext

Mark 'objectcontext' tag as 'like'

Mark 'objectcontext' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

wcf

Mark 'wcf' tag as 'like'

Mark 'wcf' tag as 'ignore'

0 0 0 0


1.34k
Views
A Default Entity Framework 4.0 ObjectContext Factory
By @fredrikn "I'm the master"  July 14, 2010 7:41 AM

"This is a default EF ObjectContext factory, perfect when using POCOs"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

factory

Mark 'factory' tag as 'like'

Mark 'factory' tag as 'ignore'

objectcontext

Mark 'objectcontext' tag as 'like'

Mark 'objectcontext' tag as 'ignore'

0 0 0 0


2.29k
Views
Generic Entity Framework 4.0 Base Repository with Paging
By @CodingInsomnia "First one to share code"  July 12, 2010 10:43 PM

"Fork of the Generic Entity Framework 4.0 Base Repository"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

0 0 0 2


2.72k
Views
Generic Entity Framework 4.0 Base Repository
By @fredrikn "I'm the master"  July 10, 2010 10:04 AM

"This is a generic base class you can use when creating a Repositories and EF 4.0"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

objectcontext

Mark 'objectcontext' tag as 'like'

Mark 'objectcontext' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

1 0 0 9


Squeed
Made by: Fredrik Normén 2010