LinqConnect Documentation
Populating Ignore Lists

The Ignore method of the FluentMappingBuilder class allows you to specify a class or complex type to exclude from the mapping generation process.

builder.Ignore<ProductCategory>();
 
builder.Ignore(typeof(ProductCategory));
 
builder.Ignore(Type.GetType("CrmDemoContext.ProductCategory"));
 
var types = Assembly.GetCallingAssembly()
     .GetTypes()
     .Where(type => type.Namespace == "UserNamespace");
builder.Ignore(types);