daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. namespace WebApp.Mocks
  2. {
  3.     public class MockModel1Set : MockDbSet<Model1>
  4.     {
  5.         public override Model1 Find(params object[] keyValues)
  6.         {
  7.             return this.SingleOrDefault(s => s.Id == (int)keyValues.Single());
  8.         }
  9.     }
  10.  
  11.     public class MockModel2Set : MockDbSet<Model2> {}
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top