Code Cleanup: Removing unnecessary usage of IConfiguration
Added constraints and checks to ensure CLR entity types are reference types.
Changed return type of AddSqlServer and UseinMemoryStore extensions to void.