dibley1973 / StoredProcedureFramework

A .Net framework for calling stored procedures
MIT License
4 stars 2 forks source link

Initialising the properties on the context that are stored procedures only initialises PUBLIC properties #3

Closed dibley1973 closed 8 years ago

dibley1973 commented 8 years ago

This should probably initialise INTERNAL scope properties as well.

dibley1973 commented 8 years ago

In DbContextExtensions.InitializeStoredProcedureProperties changed contextType.GetProperties() to contextType.GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance).

This ensures that properties of the DbContext that are stored procedures do get instantiated.

dibley1973 commented 8 years ago

Issues resolved