faizinfy

IDataContext.vb

Dec 13th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.69 KB | None | 0 0
  1. Imports System.Data.Entity
  2. Imports System.Data.Entity.Infrastructure
  3.  
  4. Public Interface IDataContext
  5.     Inherits IDisposable
  6.  
  7.     Function updatesave(obj As Object, Optional currentuserid As Integer = 0, Optional currentcompanyid As Integer = 0, Optional auditlogdescriotion As String = "") As Result
  8.  
  9.     ReadOnly Property configuration As DbContextConfiguration
  10.  
  11.     Function save(Optional currentuserid As Integer = 0, Optional currentcompanyid As Integer = 0, Optional remarks As String = "") As Result
  12.     Function entry(Of TEntity As Class)(entity As TEntity) As DbEntityEntry(Of TEntity)
  13.  
  14.     Property Users As IDbSet(Of User)
  15.     'Property Companies As IDbSet(Of Company)
  16.  
  17. End Interface
Advertisement
Add Comment
Please, Sign In to add comment