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. Expanders

Expanders

Updates
  • Overview

    Expanders are a very important piece in the architecture of CodeStencil. They form a repository of labels and the strings defined to replace those labels during code generation. You can define as many labels as you want to use for string replacement. ...

  • System Expansion Labels

    NAMESPACE -  This is used, in the case of .NET applications to represent the Namespace in your code. It is usually a combination of the ORGANIZATION_LABEL and the PROJECT_NAME. ORGANIZATION_LABEL - The organization Label is usually a single word t ...

  • Expander Types

    Expander Types help you configure the data type of the expander. The available types are: String - This makes the input prompt to accept string inputs. Bool allows you to make the expander accept a true/false option. Folder -  This will displa ...

  • The [%TABLES%] Expander

    The [%TABLES%] Expander is a unique reserved expander that helps generate table-specific code, forms, or views. A typical use case is when you want to generate a view or a form for a single table without running through the entire generation cycle for al ...

  • Linked Expander

    Linked Expanders can allow you to manipulate your expansion string to be replaced by the expander record you are linked to. For example, in this image: The Expander - DB_IN_USE_SQLSERVER is linked to DB_IN_USE. Likewise, the expander DB_IN_USE_SQLITE ...

© 2025 CodeStencil
  • Blog