An attribute that indicates that a property or a class should be persisted under a different name.
InheritanceMapToAttribute
Namespace: Realms Assembly: Realm.dll Syntax[AttributeUsage(AttributeTargets.Class|AttributeTargets.Property)]
public class MapToAttribute : Attribute
Constructors | Edit this page View Source MapToAttribute(string)
Initializes a new instance of the MapToAttribute class.
Declarationpublic MapToAttribute(string mapping)
Parameters Type Name Description string mapping
The name of the property or class in the database.
Properties | Edit this page View Source MappingGets the name of the property or class in the database.
Declarationpublic string Mapping { get; }
Property Value Type Description string
The property or class name.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4