Beispiel #1
0
 /// <summary>
 /// Type Level: Removes the existing mapped property handler of the .NET CLR type.
 /// </summary>
 /// <param name="type">The target .NET CLR type.</param>
 public static void Remove(Type type) =>
 PropertyHandlerMapper.Remove(type);
Beispiel #2
0
        /*
         * Remove
         */

        /// <summary>
        /// Type Level: Removes the existing mapped property handler of the .NET CLR type.
        /// </summary>
        /// <typeparam name="T">The target .NET CLR type.</typeparam>
        public static void Remove <T>() =>
        PropertyHandlerMapper.Remove(typeof(T));
Beispiel #3
0
 /// <summary>
 /// Property Level: Removes the existing mapped property handler from a data entity type property (via property name).
 /// </summary>
 /// <typeparam name="TEntity">The target .NET CLR type.</typeparam>
 /// <param name="propertyName">The instance of property handler.</param>
 public static void Remove <TEntity>(string propertyName)
     where TEntity : class =>
 PropertyHandlerMapper.Remove <TEntity>(propertyName);
Beispiel #4
0
 /// <summary>
 /// Property Level: Removes the existing mapped property handler from a data entity type property (via <see cref="Field"/> object).
 /// </summary>
 /// <typeparam name="TEntity">The target .NET CLR type.</typeparam>
 /// <param name="field">The instance of <see cref="Field"/> object to be mapped.</param>
 public static void Remove <TEntity>(Field field)
     where TEntity : class =>
 PropertyHandlerMapper.Remove <TEntity>(field);
Beispiel #5
0
        /*
         * Remove
         */

        /// <summary>
        /// Property Level: Removes the existing mapped property handler from a data entity type property (via expression).
        /// </summary>
        /// <typeparam name="TEntity">The type of the data entity.</typeparam>
        /// <param name="expression">The expression to be parsed.</param>
        public static void Remove <TEntity>(Expression <Func <TEntity, object> > expression)
            where TEntity : class =>
        PropertyHandlerMapper.Remove <TEntity>(ExpressionExtension.GetProperty <TEntity>(expression));