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
1
vote
1 answer

Pivot Runner null command

While updating existing schema with PivotRunner on an existing database, I'm facing the error presented below. I can't figure out why view may return an empty command. What are the most plausible cases ? If going over this error, I would have same…
Olivier ROMAND
  • 579
  • 4
  • 15
1
vote
3 answers

codefluent custom stored procedure

I have a custom stored procedure with in parameters that return fields of different tables how I can map this custom stored to an entity? I only want to use like a read only values for a report I don't want to save or something like that I try to…
1
vote
1 answer

Pivot script file per part?

Is it possible to generate one pivot script file per part in CFE ? In our model, we imagine using pivot runner to update database later on. In our model we have one part that would be used to instanciate many structures (let's call it "Common"),…
Olivier ROMAND
  • 579
  • 4
  • 15
1
vote
1 answer

Optionnal parameter in SEARCH CFQL method not of type varchar

Is it possible to have a search function that would allow passing optional parameters other than varchar (i.e. DateTime, decimal .. ) ? I need to search rows that are in a date range. User should be able to search FROM a date only, or up TO a date,…
Olivier ROMAND
  • 579
  • 4
  • 15
1
vote
1 answer

EntityState in update?

What is the correct approach while updating a record in CFE ? We are using webapi controllers, based on this link, the client-side is developped thanks to AngularJS. I am having troubles updating a record that already exists and my code fails with…
Olivier ROMAND
  • 579
  • 4
  • 15
1
vote
1 answer

CodeFluent Aspect for Full-Text Index

I'm trying to develop a CodeFluent aspect to set a property of a entity to be a full-text index. I've found this link, which does something similar to what I'm aiming…
MTran
  • 1,799
  • 2
  • 17
  • 21
1
vote
1 answer

Array parameter in CFQL / stored procedure method

Is it possible to pass an array of parameter to a stored procedure generated through CFQL? We generated method from designer without any problem. But I haven't found any way to unit execute it on SQL Server. When trying to execute through code, the…
Olivier ROMAND
  • 579
  • 4
  • 15
1
vote
2 answers

web.api only serializing hidden fields

I'm experiencing a strange behaviour. My web.api is returning only hiddenfields from my ObjectCollection on a GET request. This is my controller: // GET: api/UserDocuments [Route("api/UserDocuments/User/{userName}")] public List
JoeCool
  • 907
  • 1
  • 11
  • 25
1
vote
1 answer

Cannot use value 0 of an enumeration while defining instances of an entity

While using CF Entities, I'm facing an issue defining instances of an entity that uses an enumeration value. I can add the instances of the entitytwor, but during build or save an error would show up arguing: CF0134: Instance value for key…
Olivier ROMAND
  • 579
  • 4
  • 15
1
vote
1 answer

Declare a clustered key on a many-to-many relationship table in CodeFluent Entities with SQL Server producer

I have the same issue as this question (exactly the same need): How can I declare a Clustered key on a many-to-many relationship table in CodeFluent Entities with Sql Server Producer I tried to use the aspect but I am not sure how I should set up…
amarlot
  • 11
  • 4
1
vote
1 answer

RemoveDiffs production flag option does not remove all occurences of the Runtime Version added to generated files

Using the default production flag options both the file generation date and the Runtime Version are displayed as shown below: Notice that the Build Version is listed twice // CodeFluent Entities generated (http://www.softfluent.com). Date: Thursday,…
Dave
  • 649
  • 5
  • 13
1
vote
1 answer

Unable to remove date/time stamps on generated files

I am unable to remove the date/time stamps from the generated files. The problem is, when I'm editing the .cfp file, I'll set the Production Flags to "Overwrite, RemoveDates". But soon as I save the file, the Production Flags automatically get…
Dave
  • 649
  • 5
  • 13
1
vote
1 answer

use _trackXXX columns in the business object model

Is there any way to view the persistence tracking fields (_trackLastWriteTime) as properties in my BOM. I've seen a similar question in your website forums, but due to the updates you made to it, answers are lacking of "code" sections, so they are…
JoeCool
  • 907
  • 1
  • 11
  • 25
1
vote
1 answer

CodeFluent Entities - help setting up MySql consumption at design time in Visual Studio

I have an issue in Visual Studio 2013, when consuming the object model generated by CodeFluent Entities at DESIGN TIME. It's a 3rd party reporting component that enables binding to POCO object datasources, with the added functionality of delivering…
Renato Xavier
  • 123
  • 1
  • 9
1
vote
1 answer

Codefluent Load All Unreferenced Record

I'm trying to load all "tag" records that's not referenced in the "FileObjectMetaData" table with CodeFluent.Basically converting the query from this post to CodeFluent: Elegant way to delete rows which are not referenced by other table I have this…
MTran
  • 1,799
  • 2
  • 17
  • 21