Hi,
I've noticed that the database generated by ASP.NET Zero is severely lacking in any real referential integrity. There are no foreign keys on many of the tables which use a TenantId or a UserId.
Can you please explain why this is and if you have any plans to fix it? When a relational database has no relations it is a little concerning.
Thanks, Sean
Hi, I'm new to Abp and have downloaded the template including module zero. I've compiled ok, set the startup project to .Web and the default project to EF as per the doco. My connection string is:
<add name="Default" connectionString="Server=(localdb)MSSQLLocalDB; Database=FreightHub; Trusted_Connection=True;" providerName="System.Data.SqlClient" />
However the Package Manager console always fails with the following error:
Target database is: 'FreightHub' (DataSource: (localdb)MSSQLLocalDB, Provider: System.Data.SqlClient, Origin: Configuration).
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The network path was not found
I can connect to the database server in both SQL Server Object Explorer and SQL 2014 Management Studio. It seems to be just limited to this project (works ok in other projects)
Please help! Rick.