Guest User

Untitled

a guest
Feb 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.19 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace SupplierManual.Data
  7. {
  8.     public class Repository :IRepository
  9.     {
  10.         public IQueryable<TEntity> Queriable<TEntity>() where TEntity : class
  11.         {
  12.             throw new NotImplementedException();
  13.         }
  14.  
  15.         public void Add<TEntity>(TEntity entity) where TEntity : class
  16.         {
  17.             throw new NotImplementedException();
  18.         }
  19.  
  20.         public void Update<TEntity>(TEntity entity) where TEntity : class
  21.         {
  22.             throw new NotImplementedException();
  23.         }
  24.  
  25.         public void Delete<TEntity>(TEntity entity) where TEntity : class
  26.         {
  27.             throw new NotImplementedException();
  28.         }
  29.  
  30.         public void Dispose()
  31.         {
  32.             throw new NotImplementedException();
  33.         }
  34.  
  35.         public void SaveChange()
  36.         {
  37.             throw new NotImplementedException();
  38.         }
  39.  
  40.         private bool HasBaseType(Type type, out Type baseType)
  41.         {
  42.             Type originalType = type.GetType();
  43.             baseType = GetBaseType(type);
  44.             return baseType != originalType;
  45.         }
  46.  
  47.     }
  48. }
Add Comment
Please, Sign In to add comment