Example #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;
        }
Example #2
0
 internal TypeSchemaProxy(TypeSchema ts)
     : base(ts)
 {
     ProxyType = ProxyMapper.Map(ts.CLRType);
 }