Marks a property or field as one that the Elementary framework should persist.
Example:
[ElementaryClass]
public class Product
{
[Persist]
public string Name;
}
Options
| Column | Defines the column to use. Without it, Elementary will try to infer the column name using the field / property name.[ElementaryClass(Table="Products")]
public class Product
{
[Persist(Column="ProductName")]
public string Name;
} |