New Post: From this to WEB API OData for AdventureWorks
Hi, You need to mark the FK's with [JsonIgnore] as you don't want to serialize those links. // If you need to serialize your entities with the JsonSerializer from Newtonsoft, this would serialize //...
View ArticleNew Post: Marking POCO's serializable?
Is it possible to add the [Serializable] attribute to the generated data classes?
View ArticleNew Post: Marking POCO's serializable?
Yes, use the provided WritePocoClassAttributes callback function in your settings.tt file.
View ArticleSource code checked in, #720a67d9d92d
Case 177. bit with string as default value always returns true. Thanks to thbaan.
View ArticleSource code checked in, #582974a54cee
Case 176. Adding Visual Studio Installer Setup Project to Solution causes issues. Thanks to bbieb.
View ArticleEdited Issue: 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 ArticleCommented Issue: 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 ArticleCommented Unassigned: adding Visual Studio Installer Setup Project to...
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 ArticleCommented Unassigned: adding Visual Studio Installer Setup Project to...
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 ArticleCommented Unassigned: adding Visual Studio Installer Setup Project to...
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 ArticleEdited Issue: adding Visual Studio Installer Setup Project to Solution causes...
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 ArticleEdited Issue: Compilation error when generating stored proc return models in...
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 ArticleCommented Issue: 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 ArticleEdited Feature: 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 Feature: 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 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 ArticleSource code checked in, #0807997121d7
Case 174 Using DB "newsequentialid()" to help with indexing. Thanks to mbargar13
View ArticleSource code checked in, #6da3d185f0d3
Remove Elements.StoredProcedures enum, and replace it with IncludeStoredProcedures boolean flag.
View ArticleCommented Feature: Minimise usings to the bare minimum required [172]
There are too many using statements which are not required if the code is outputted on a file by file basis.Comments: Hi, Since v2.17.1 I have been able to generate stored proc return models in the...
View ArticleCommented Issue: Compilation error when generating stored proc return models...
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 Article