Home > Developing Using CodeFluent Entities, Presentation > Storing Custom Files In Your CodeFluent Entities Project

Storing Custom Files In Your CodeFluent Entities Project


By default a CodeFluent Entities project contains the following elements:

image

  • a Default surface, and its part “Default.Surface.cfp” containing layout information (shapes, positions, etc.)
  • the project part named by your default namespace (e.g. “MyApplication.cfp” in the example above) and which contains the definition of all your entities, properties, rules, forms, views, etc.

Projects can contain multiple surfaces and multiple parts, which can be added by clicking on the Surfaces and Parts folder of your project.

Folders in your CodeFluent Entities  project are virtual. If you open the corresponding project folder in Windows Explorer here’s what you’ll see:

image

  • The project file (<ProjectName>.cfxproj)
  • The parts (<DefaultNamespace>.cfp and the other ones you created)
  • The surface parts (Default.Surface.cfp and possibly the other ones you created)

CodeFluent Entities projects also contain a “Files” folder which can contain any extra-files. Drop files in your project folder, and then using Solution Explorer’s “Show All Files” button and “Include in project” option.

Extra-Feature:

  • If you place a CFP file in your project folder, including it to your project will add it to the Parts folder,
  • If you place a XML file in your project folder which contains a valid root project node, including it to your project will automatically add it to the Parts folder,
  • Other than that, any extra-file goes in the Files folder.
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s