New Post: is any way to genarate db diagrams?
do you know is any library can genarate db's ER diagrams? thanks
View ArticleNew Post: Discover One to One Relationship
Is there a way to discover whether a table has a one-to-one relationship to another table. For example: class User{public string UserDetailId {get; set; } public virtual UserDetail UserDetail {get;...
View ArticleNew Post: Discover One to One Relationship
The model contains both sides of the foreign key relationship, so yes, you can check across.User has a foreign key to UserDetail - this will appear in the "ForeignKeys" property. UserDetail does not...
View ArticleNew Post: Schema Comparison
I'm getting an error when trying to do a Schema comparison using an existing, saved schema and reading the new schema of the same database. I've pasted the error below. //get the base schema // this is...
View ArticleNew Post: Schema Comparison
Added some guards against nulls- https://dbschemareader.codeplex.com/SourceControl/changeset/9ae9d10b7895ec52687d37279cc41faaf994bee9
View ArticleNew Post: Quote in the standard string column in the WriteDataType method...
Hi. I have a problem with string columns with default value. The library does this:CREATE TABLE [dbo].[test_table] ( [id] INT, [host_nome] VARCHAR (255) NOT NULL DEFAULT '(host_name())',...
View Article