Exemplo n.º 1
0
        public void CodeStringFromTable(Table table)
        {
            _table = table;

               if (_table.Database.ConcurrencySupport == ConcurrencySupportEnum.None)
                    return;
               //Template method, let's child implement details
               GenerateCodeString();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Template contructor method
 /// </summary>
 /// <param name="name"></param>
 /// <param name="table"></param>
 public virtual void StoreFromTable(Table table)
 {
     _table = table;
         //template methods
        GenerateStream();
        MakeMappingsStream();
 }