initial
This commit is contained in:
9
Annotations/QueryIgnoreAttribute.cs
Normal file
9
Annotations/QueryIgnoreAttribute.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace Salesforce.NET
|
||||
{
|
||||
/// <summary>
|
||||
/// Instructs the query generator to ignore this property
|
||||
/// </summary>
|
||||
public class QueryIgnoreAttribute : Attribute { }
|
||||
}
|
17
Annotations/SalesforceObjectAttribute.cs
Normal file
17
Annotations/SalesforceObjectAttribute.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Salesforce.NET
|
||||
{
|
||||
/// <summary>
|
||||
/// Associates the entity to an object in Salesforce
|
||||
/// </summary>
|
||||
public class SalesforceObjectAttribute : Attribute
|
||||
{
|
||||
public string ObjectName { get; }
|
||||
|
||||
public SalesforceObjectAttribute(string objectName)
|
||||
{
|
||||
ObjectName = objectName;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user