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.
Questions tagged [codefluent]
151 questions
1
vote
3 answers
Simple results list from SQL Server stored procedure using Codefluent
I'm trying to figure out how to obtain the results of a SQL Server stored procedure using Codefluent. I have a well developed CF project, but there is one very complicated stored procedure that I don't want to monkey around with.
Basically, the…

Greg Delaney
- 81
- 11
1
vote
2 answers
procedureFormat in project element is having no affect
I would like all stored procedures generated from the model to have the name prefixed with "cf_". I added procedureFormat="cf_{0}" to the project element. However, it did not work. Is there something else I'm missing?
Below is the project…

Dave
- 649
- 5
- 13
1
vote
1 answer
Entities colors in the CodeFluent Entities Modeler
How can I change the color of an entity in the CodeFluent Entities Modeler?
Current blue color isn't so good for a print-out.
Regards,
SF

SoftwareFactories UG
- 31
- 1
1
vote
1 answer
Slow collections when using List in CodeFluent
I have had memoryleak issues in CodeFluent because eventhandlers of ListCollections of objects maintained references to objects I did not need anymore. The solution was to change the collection type of the entity to List in stead of ListCollection.…

Peter de Bruijn
- 792
- 6
- 22
1
vote
1 answer
Does Codefluent Entities support method overloading?
I want to create 2 methods with the same name, same return type, but different parameters.
When I attempted this using the Model the following happened:
No error message was immediately generated when adding the second method to the model.
The…

Dave
- 649
- 5
- 13
1
vote
1 answer
Trying to use System.Data.DataSet for generating reports
Scenario: I need to create a report in which the data does not map well to existing entities.
Solution: My solution is to write a raw method and have it return a DataSet.
Assumption:
If I write a raw method in which none of the fields in the query…

Dave
- 649
- 5
- 13
1
vote
2 answers
Codefluent Memory leak because of OnItemKeyChanged event
I have an application that caches several codefluent objects.When I put several of those cached objects in a temporary collection the collection is never released from memory. By profiling the application with ANTS I found the villan: an…

Peter de Bruijn
- 792
- 6
- 22
1
vote
1 answer
CodeFluent produces either a check for 0 in the method or a check for NULL in the stored procedure
My model contains an entity with a numeric Landcode property. The value 0 is a valid value for this property:

BremHi
- 21
- 1
1
vote
1 answer
LoadBy method returns null if provided parameter is 0
My model contains an entity with a numeric property:

BremHi
- 21
- 1
1
vote
1 answer
CodeFluent related collection sorting
I have two CodeFluentEntities collections that are related in a typical Master/Detail relationship: Invoices and Invoice details.
While I can load the invoice collection in order by the invoice's number, I can't quite figure out how to get the…

Greg Delaney
- 81
- 11
1
vote
1 answer
Quoted identifier error Codefluent
We have a QUOTEDIDENTIFIER problem with the Azure producer. We have an entity where we defined a Geography property. We created a geospatial index on that table. However, if we perform an insert or update on that table we get the followind…

Peter de Bruijn
- 792
- 6
- 22
1
vote
0 answers
Codefluent in memory tables
We are implementing in memory table technology in our application. There is one problem however: SQL server does not support rowversion (timestamp) in in memory tables. This is used by codefluent for concurrency protection.
Does anyone know a way to…

Peter de Bruijn
- 792
- 6
- 22
1
vote
1 answer
TinyInt as datatype for enum
I have a lot of enumerations as properties in my codefluent model. Codefluent uses an int as datatype to store this. In all cases a TinyInt would suffice. I can set the datatype to int16. How can i reduce it even further to set it to TinyInt.
PS…

Peter de Bruijn
- 792
- 6
- 22
1
vote
1 answer
Unique constraint allowing null values
Is it possible to have an unique property in the models that would allow multiple null values.
Implementation is using SQL Server and it appears this would be possible: SQL Server UNIQUE constraint with duplicate NULLs
Is there any way to modify…

Olivier ROMAND
- 579
- 4
- 15
1
vote
1 answer
How filter in a grid view like '% value %'?
how I can use a method search for generate a query like this SEARCH(name) select * from person where name like '% name %' and how I set this method to filter a gridview? I only see the option for startwith and endwith

abigail armijo
- 71
- 5