Quantcast
Browsing all 1642 articles
Browse latest View live

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 Article


Commented 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 Article


New Post: Navigation properties collection type

Thanks for the reply Simon.

View Article

New 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 Article

Created 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 Article


New 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 Article

New 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 Article

Created 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 Article


New 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 Article


New 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 Article

New 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 Article

Edited 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 Article

Commented 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 Article


Created 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 Article

Edited 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 Article


Source code checked in, #261d26c71ed0

Case 173. ReadStoredProcReturnObject throws an exception if a parameter contains a user defined type. Thanks to AndyGJP.

View Article

Edited 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 Article


Commented 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 Article

New 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 Article

New Post: table specifies primary key different from base table

In UpdateColumn function, addif (table.NameHumanCase == "AWCase" && column.NameHumanCase == "CaseId") column.Hidden = true;

View Article
Browsing all 1642 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>