Exemple #1
0
 /// <summary>
 /// Clears a value from the DateTimeControl provided
 /// </summary>
 /// <param name="control"></param>
 public void ClearValue(DateTimeControl control)
 {
     _client.ClearValue(control);
 }
Exemple #2
0
 /// <summary>
 /// Sets the value of a Date Field.
 /// </summary>
 /// <param name="control">Date field control.</param>
 public void SetValue(DateTimeControl control)
 {
     _client.SetValue(control);
 }
Exemple #3
0
 /// <summary>
 /// Gets the value of a Lookup.
 /// </summary>
 /// <param name="control">The lookup field name of the lookup.</param>
 public DateTime?GetValue(DateTimeControl control)
 {
     return(_client.GetValue(control));
 }
 /// <summary>
 /// Sets the value of a Date Field.
 /// </summary>
 /// <param name="control">Date field control.</param>
 public void SetValue(DateTimeControl control)
 {
     _client.SetValue(control, FormContextType.Dialog);
 }
Exemple #5
0
 /// <summary>
 /// Clears a value from the DateTimeControl provided
 /// </summary>
 /// <param name="control"></param>
 public void ClearValue(DateTimeControl control)
 {
     _client.ClearValue(control, FormContextType.Entity);
 }
Exemple #6
0
 /// <summary>
 /// Gets the value of a DateTime Control from the header
 /// </summary>
 /// <param name="control">The date time field name of the lookup.</param>
 /// <example>xrmApp.Entity.GetValue(new DateTimeControl { Name = "estimatedclosedate" });</example>
 public DateTime GetHeaderValue(DateTimeControl control)
 {
     return(_client.GetHeaderValue(control));
 }