Logo CodeStencil Logo CodeStencil
  • Back to Website
  • Pricing
  • Blog
Logo CodeStencil Logo CodeStencil
  • Back to Website
  • Pricing
  • Blog
  • Fundamentals
    • What is CodeStencil
    • Layout
    • How CodeStencil Works
    • Code Generation Logic & Concept
    • Folder Structure
    • Stencils vs. Templates (e.g. VS Templates)
    • CodeStencil Projects & Stencils
    • The Quick Table and Column Updates
    • Reserved Keywords
  • Entity Framework
    • Code First
    • EF Scaffolder
    • Manipulating Scaffolded Files
  • Startup
    • Starting for the first time
    • What's Next?
    • Tips
    • Release Notes
  • Tutorials
    • Generating a text file containing Table name and Primary key
  • Projects
    • Creating a Project
    • New Project (1 of 2)
    • New Project (2 of 2) - Project Details
    • Project Properties
    • Database Schema Approach
    • Code First (Schema generator Wizard)
    • Code First
    • Unlocking a Project (Read-Only Mode)
  • Stencils
    • What are Stencils?
    • Creating Stencils
    • New Stencil (Basic)
    • New Stencil (Standard)
    • New Stencil (Complete - Reverse Engineer Source Code)
    • Properties
    • Selecting Stencils
    • Stencil Creation Tools
  • Schemas
    • Schema Generator
    • Schema Importer
    • What is a Schema
    • Import POCO Objects
  • Code Generation
    • Menu Configuration
    • Based On Database Provider
    • The Quick Table and Column Updates
    • Foreign Key Null Error
    • Table
    • Handling Table Name Violations (Schema Import)
    • Using the [%TABLES%] Expander
  • Data Conversion
    • Microsoft Access Conversion
    • Microsoft Access Database Converter (MADC)
    • MADC - Targetting SQLite Databases
    • MADC - Targetting Sql Server Databases
    • CRUD Blazor App from Access database
  • Schema Dictionary
    • Overview
    • Context Menu & Update Buttons
    • Visual Identifiers
    • Add Column
    • Add Multiple Columns
    • Change Column
    • Delete Column
    • Advanced Configuration
    • Calculated Columns
    • Export Schema Dictionary To XML
    • Import Schema Dictionary Structure From XML
    • Schema Import Wizard ( Operations)
    • Tables/Views Selection
  • Code Tree
    • Nodes
    • Node Types
    • Context Menu
    • Specific Features
    • Code Tree
  • Code Nanites
    • Code Structure
    • Debugging
    • Schema Related
    • Overview
  • Expanders
    • Updates
    • Overview
    • System Expansion Labels
    • Expander Types
    • The [%TABLES%] Expander
    • Linked Expander
  • Custom Stencils
    • Radzen Blazor Stencil
    • Syncfusion Blazor CRUD Stencil
    • DevExpress Blazor Web App
    • Audit Trigger
    • Syncfusion Controls
    • ASP .NET Core Razor Stencil
    • Blazor Web App
  • Tools
    • Code Assets
  • Tools - Options
    • General
    • Startup
    • Stencils
    • Code Generation
    • Database
  • Databases
    • Swapping Databases
    • Chinook Database
    • Plain Old CLR Objects (POCO)
  • Database Concepts
    • Relationships
  • FAQs
    • My Project Shows as "Locked"
    • Creating a new View, Form or Page
    • Adding the contents of a text file to my code
  • Examples
    • Updating a Scaffolded DbContext Class
  • Troubleshooting
    • Missing Code Nanites
    • HTTP Error 500.31 - Failed to load ASP.NET Core runtime
    • HTTP Error 500.31 - Failed to load ASP.NET Core runtime (To be moved to the blog site).
    • Connection Timeout
  • Tips & Tricks
    • Registering a License Key in CodeStencil
    • Generate a file using multiple nodes
  1. Overview
  2. Code Generation

Code Generation

Configuration
Menu Configuration
Based On Database Provider
  • The Quick Table and Column Updates

    The Quick Table and Column Updates form presents the user with a quicker way to update tables and columns than using the traditional schema dictionary panel.  NOTE: Please note that there are three ways to trigger the Quick Table and Column Updates; ...

  • Foreign Key Null Error

    This helps fix foreign keys configured with nullability attributes. The image above contains tables and foreign keys configured with nullability. This be fixed in two ways, which will be listed below; Check Nullable: This will require unchecking eac ...

  • Table

    This feature allows you to enable or disable tables within the database's list of tables.  Related Table: Displays the foreign tables associated with the primary table, if any are found. 

  • Handling Table Name Violations (Schema Import)

    Database Schema Import It is likely that the database you are trying to import into CodeStencil contains a table with a name that violates our list of reserved names. A common example is the name "Client." While this may seem harmless, certain stencils m ...

  • Using the [%TABLES%] Expander

    The [%TABLES%] allows you to select (on the fly) tables for which you want to generate forms, views, or pages. This is normally used by the creator of your stencil during the stencil's construction, but nothing stops you from implementing its use so long ...

© 2025 CodeStencil
  • Blog