Questions tagged [codefluent]

CodeFluent Entities is a commercial code-generation tool provided by SoftFluent that integrates into Microsoft Visual Studio 2008, 2010, 2012, 2013 and 2015. It can generate SQL scripts, code like VB or C#, UIs or web services.

151 questions
0
votes
1 answer

Purpose of Attributes settings on property

What is the purpose of the Attributes settings on Model property ? I've read about subproducer and would like to achieve what was described…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
0 answers

TrackingMode in disconnected application

I'm using CFE with AngularJS front-end and WebApi Controllers; There's a screen where I have parent-children relationship; EntityA has many EntityB which also has many EntityC; I set up Before Update and Before Delete cascade for my objects in the…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
2 answers

Decimal precision codefluent

How can I set decimal precision to reduce database size? I have a decimal value in my codefluent model. The SQL producer produces a decimal (28,13) field for this property. However, I use the property to store values that will never have more than…
Peter de Bruijn
  • 792
  • 6
  • 22
0
votes
2 answers

Which Identity does CodeFluentUser.Current use?

Which Identity does CodeFluent.Runtime.CodeFluentUser.Current use? Does it use HttpContext.Current.User.Identity or Thread.CurrentPrincipal.Identity? Or does it use a fallback mechanism?
Willem
  • 111
  • 4
0
votes
1 answer

Localize Label for property entity

I'm using codefluent entities and I was wondering if is possible set a localized label for the properties of a entity example I have a Test entity with a name and description field I want to set custom labels for example in english is name an…
0
votes
0 answers

Pivot Script Producer - Bug Found

I'm sorry to have to submit through this channel. The report issue feature on your website won't just let me submit my request. Error enclosed: SoftFluent, SoftFluent, we have a problem! An unidentified error has occured Problem: Pivot Script…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
1 answer

Reference existing CF project models

We have multiple model projects using codefluent (M1 and M2). Is it possible to have one model project (say M1) using type reference of another model project (M2) ? I tried adding project reference or existing item in model but none of them…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
0 answers

Is it possible to relate two CodeFluent collections at run-time?

I'm looking for a way to link seemingly unrelated CodeFluent collections at run-time without having defined a relation between the entities (typename and relationpropertyname of each property would not be set) in the CodeFluent modeler. Each entity…
Greg Delaney
  • 81
  • 11
0
votes
1 answer

Pivot Runner: force delete of existing constraint that match a constraint needed for the new model

Facing same issue, is there any progress on this one : http://www.softfluent.com/product/codefluent-entities/knowledge-center/point-sql-server-producer-to-production-db-instead-of-using-pivot-producer Thanks for your answer, EDIT: this is the code…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
2 answers

Can not save an entity with the value 0 for a non-nullable numeric property

My model contains an entity Order with a non-nullable property Amount of type decimal: cf:entity name="Order"> I can not…
Willem
  • 111
  • 4
0
votes
1 answer

Serialization approach in relationship

We are using codefluent entities for the BOM, webapi for the controllers and angularjs Framework on the client side. We are facing a problem when storing reference of an object in the parent object. Anytime, reference would be nulled by generated…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
1 answer

What are the privileges and the configuration required for SQL Producer

From the documentation I couldn't find anything related to privilege settings and configurations required for SQLServer Producer. What should be the grants and privileges given to SQL user in order to have CodeFluent Entities to generate all the…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
1 answer

How to define a reflexive assocation in CodeFluent

What is the proper way to define a reflexive assocation in code fluent. Given this example, the design shows up correctly, but the generation would struggle with enclosed error message: Error CF0036: Type for property 'OldEntityA' of entity…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
1 answer

ManyToMany association table with properties

I need to know if it is possible to add properties on a many to many Relationship or wether I should go for adding an entity with Relationship ? In the case of the extra entity, how can I get the two referenced tables to participate in the key (to…
Olivier ROMAND
  • 579
  • 4
  • 15
0
votes
2 answers

softfluent entity related method

I want to get the detail entity of a parent entity with a custom method in this method I want to sort the detail entity random and exclude the details by a condition it's possible in the parent method set the method for get the childs of the parent…