Skip to content

Commit

Permalink
Removed AddFieldValue() in ZCRMRecord.
Browse files Browse the repository at this point in the history
  • Loading branch information
raja-7453 committed Dec 26, 2019
1 parent 8993f79 commit 1196a70
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions ZohoCRM/CRM/Library/CRUD/ZCRMRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -374,19 +374,9 @@ public object GetProperty(string propertyName)
/// <param name="value">value (Object) of the record field.</param>
public void SetFieldValue(string fieldAPIName, object value)
{
Data.Add(fieldAPIName, value);
Data[fieldAPIName] = value;
}

/// <summary>
/// To add fields based on field APIName and value.
/// </summary>
/// <param name="fieldAPIName">APIName (String) of the record field.</param>
/// <param name="value">value (Object) of the record field.</param>
public void AddFieldValue(string fieldAPIName, object value)
{
Data[fieldAPIName] = value;
}

/// <summary>
/// To get field value of the record based on field APIName.
/// </summary>
Expand Down

0 comments on commit 1196a70

Please sign in to comment.