Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // example 2: proposed change
- public class ClassMap<T>
- {
- private ClassMapping classMapping = new ClassMapping();
- public PropertyPart Map(...)
- {
- var propertyMapping = new PropertyMapping();
- classMapping.AddProperty(propertyMapping);
- return new PropertyPart(propertyMapping);
- }
- public ClassMapping GetMapping()
- {
- return classMapping;
- }
- }
Add Comment
Please, Sign In to add comment