Created Unassigned: using DB "newsequentialid()" to help with indexing [174]
We have a database that now has a surrogate key that we use for lookup. We have it set as a "UniqueIdentifier" and have a default value of "newsequentialid()". We want to use the sqeuential id from...
View ArticleCommented Unassigned: ReadStoredProcReturnObject throws an exception if a...
Hi,The generated query used to work out the return model of a stored proc in invalid if it contains a user defined type.The tool generates the following query for a stored proc in my database:```SET...
View ArticleNew Post: donation + some feature requests
Hey Simon, great, thank you very much. I havn't tried it yet but I will in the next weeks. I introduced your generator in my team. The more we use it, the more we like it. So thanks again for this....
View ArticleCreated Unassigned: Compilation error when generating stored proc return...
Hi,Since v2.17.1 I have been able to generate stored proc return models in the POCO assembly. This assembly does not have a reference to EF. However, the new version, v2.17.2, has changed the usings in...
View ArticleNew Post: Adding a metadata attribute?
Hi Simon, Does your generator create a MetadataType attribute for data domain class? For example:[MetadataType(typeof(ContactMetadata))] public class Contact { public long CustomerId { get; set; } //...
View ArticleNew Post: Adding a metadata attribute?
The generator is setup so you can add whatever attribute you need to your classes. See WritePocoClassAttributes. For example:AdditionalNamespaces = new[] { "System",...
View ArticleCreated Unassigned: adding Visual Studio Installer Setup Project to Solution...
Hi Simon,When adding a Installer Setup Project to a VS2015 Windows Service project, the poco generator fails. I think it is looking for a config file within the installer project. I "attempted" to...
View ArticleNew Post: From this to WEB API OData for AdventureWorks
Hello all, What would it take to go from the AdventureWorks (AW) database and expose a WEB API OData REST service for all of it? Is it pretty straight-forward or needs a lot of tinkering? I see AW has...
View ArticleNew Post: add hasoptional relationship which doesn't exist in DB
Please allow me to join with the others in thanking you for the substantial and useful tool. I have a DB which started with an early EF revision. It successfully transitioned to EF4, then 5. Now we are...
View ArticleNew Post: table specifies primary key different from base table
The app has two classes: case and AWCase. AWCase descends from case. case.caseId is the primary key for both classes. I expect AWCase to inherit caseId from case. When I run the program I get a...
View ArticleEdited Issue: ReadStoredProcReturnObject throws an exception if a parameter...
Hi,The generated query used to work out the return model of a stored proc in invalid if it contains a user defined type.The tool generates the following query for a stored proc in my database:```SET...
View ArticleCommented Issue: ReadStoredProcReturnObject throws an exception if a...
Hi,The generated query used to work out the return model of a stored proc in invalid if it contains a user defined type.The tool generates the following query for a stored proc in my database:```SET...
View ArticleCreated Unassigned: bit with string as default value always returns true [177]
It is possible to use both the integer values _0_ or _1_ __AND__ the string values _true_ or _false_ as default values for the bit data type in SQL Server.The T4 template does not handle the string...
View ArticleEdited Unassigned: bit with string as default value always returns true [177]
It is possible to use both the integer values _0_ or _1_ __AND__ the string values _true_ or _false_ as default values for the bit data type in SQL Server.The T4 template does not handle the string...
View ArticleSource code checked in, #261d26c71ed0
Case 173. ReadStoredProcReturnObject throws an exception if a parameter contains a user defined type. Thanks to AndyGJP.
View ArticleEdited Issue: ReadStoredProcReturnObject throws an exception if a parameter...
Hi,The generated query used to work out the return model of a stored proc in invalid if it contains a user defined type.The tool generates the following query for a stored proc in my database:```SET...
View ArticleCommented Issue: ReadStoredProcReturnObject throws an exception if a...
Hi,The generated query used to work out the return model of a stored proc in invalid if it contains a user defined type.The tool generates the following query for a stored proc in my database:```SET...
View ArticleNew Post: add hasoptional relationship which doesn't exist in DB
Hi Jeff, You do indeed seem to be missing a FK in your database. I looks like one was manually added to the EDMX, but was never created within the database. The simple answer is to create a SQL patch,...
View ArticleNew Post: table specifies primary key different from base table
In UpdateColumn function, addif (table.NameHumanCase == "AWCase" && column.NameHumanCase == "CaseId") column.Hidden = true;
View Article