dotConnect for SugarCRM Documentation
Devart.Data.Sugar Namespace / SugarConnectionStringBuilder Class / UseEmailRelationship Property

In This Topic
    UseEmailRelationship Property
    In This Topic
    Determines how SugarCRM email-related data is processed - via the email1, email_addresses_non_primary, invalid_email, email_opt_out, and email_and_name1 fields or via a single email field, storing a JSON array with emails and all their settings.
    Syntax
    'Declaration
     
    Public Property UseEmailRelationship As Boolean
    public bool UseEmailRelationship {get; set;}

    Property Value

    true if the new SugarCRM approach with a single email field, storing a JSON array with emails and all their settings is used; otherwise, false.
    Remarks

    If set to false, the email1, email_addresses_non_primary, invalid_email, email_opt_out, and email_and_name1 fields are used. Otherwise, a single email field, storing a JSON array with emails and all their settings is used.

    Note that SugarCRM Developers consider the old approach with using email1 and other email-related fields out-of-date, deprecated, and subject to removal in upcoming Sugar releases. We keep the ability to use it for compatibility purposes, but recommend using the new approach. Read more about this in SugarCRM developer blog.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also