Skip to end of metadata
Go to start of metadata

I. Portable tables are two types:

  1. Created by ITable<IData, IData> OpenXTablePortable() method (that work with anonymous type and anonymous data only):

    public class XTablePortable : ITable<IData, IData>
    {
    }
    
  2. Created by ITable<TKey, TRecord> OpenXTablePortable<TKey, TRecord>() method (that works with user types via transformers):

    public class XTablePortable<TKey, TRecord> : ITable<TKey, TRecord>
    {
    }	
    

NOTE: The last class is just a wrapper. It receives an ITable<IData, IData> instance on its constructor and via the provided (or generated) transformers converts each user key and record from/to anonymous data

II. Direct user tables are created by ITable<TKey, TRecord> OpenXTable<TKey, TRecord>() method (and work directly with the provided user types):

public class XTable<TKey, TRecord> : ITable<TKey, TRecord>
{
}

XTable    Go to Home    Examples

  • No labels