Using snippet to add column

  • Use the "Public Member" snippet to add new columns. We can use it's shortcut 'mem'

2017 02 26 08H40 01

using System;
using System.Collections.Generic;
using System.Text;
using Firefly.Box;
using ENV.Data;

namespace Northwind.Models
{
    public class Students : Entity
    {
        public readonly NumberColumn Id = new NumberColumn("Id", "5");
        public readonly TextColumn LastName = new TextColumn("LastName", "30");
        public readonly TextColumn FirstName = new TextColumn("FirstName", "30");
        public Students()
           : base("Students", Northwind.Shared.DataSources.Northwind1)
        {
        }
    }
} 

Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com