Functions

<< >>

Navigation:  CodeStencil > Code Nanites > Creating Code nanites > Code Stucture >

Functions

 

This file - GetPrimaryKey.Functions.cs is the only place you are expecetd to add your code.

The code you add ( in green) updates the Output property which is sent back to CodeStencil.

GetPrimaryKey.Functions.cs:

using ZeraSystems.CodeStencil.Contracts;
namespace ZeraSystems.CodeNanite.Schema
{
    public partial class GetPrimaryKey
    {
        private void MainFunction()
        {
            Output = GetTable(Input) +"."+ GetPrimaryKey(Input) ;
        }
    }
}