Ejemplo n.º 1
0
        internal String TableName; // If != null overrides the type name (used for CUD operations)

        #endregion Fields

        #region Constructors

        internal TypeSchema(TypeSchema ts)
        {
            if (ts == null)
                throw new ArgumentNullException("ts");

            CLRType = ts.CLRType;
            TableName = ts.TableName;
            IdentityPropertyName = ts.IdentityPropertyName;

            Keys = ts.Keys;
            Columns = ts.Columns;
            Procedures = ts.Procedures;
        }
Ejemplo n.º 2
0
 internal TypeSchemaProxy(TypeSchema ts)
     : base(ts)
 {
     ProxyType = ProxyMapper.Map(ts.CLRType);
 }