Table of Contents

Class PreserveAttribute

Namespace
MongoDB.Entities
Assembly
MongoDB.Entities.dll

Use this attribute on properties that you want to omit when using SavePreserving() instead of supplying an expression. TIP: These attribute decorations are only effective if you do not specify a preservation expression when calling SavePreserving()

[AttributeUsage(AttributeTargets.Property)]
public class PreserveAttribute : Attribute
Inheritance
PreserveAttribute
Inherited Members