Hi Robert,
How about checking whether the IgnoreAttribute is applied to
the property?
for (int i = 0; i < properties.Length - 1; i++) {
// ignore props marked with [Ignore]
if (properties[i].GetCustomAttributes(typeof(IgnoreAttribute),
false).Length > 0)
next;
}
Perfect. Wh
How about checking whether the IgnoreAttribute is applied to
the property?
for (int i = 0; i < properties.Length - 1; i++) {
// ignore props marked with [Ignore]
if (properties[i].GetCustomAttributes(typeof(IgnoreAttribute),
false).Length > 0)
next;
}
Robert
On 09.04
Hi,
I have a very simple SQLite database class which I'm using
System.Reflection to serialise and use within my DBManager class.
My class looks like this (it's a test case to try and get things working
before I integrate it)
public class dbclass
{
[PrimaryKey]
public string Id { get