Source/NFX/DataAccess/CRUD/Schema.cs
/// <summary>
/// Returns FieldDefs in their order within rows that are declared as key fields for particular target
/// </summary>
Returns FieldDefs in their order within rows that are declared as key fields for particular target
Returns FieldDefs in their order within rows that are declared as key fields for particular target
public IEnumerable<FieldDef> GetKeyFieldDefsForTarget(string targetName)
            {
                 foreach( var fd in m_FieldDefs)
                 {
                    var fattr = fd[targetName];
                    if (fattr!=null && fattr.Key) yield return fd;
                 }
            }
public IEnumerable < FieldDef > GetKeyFieldDefsForTarget ( string targetName ) { foreach ( var fd in m_FieldDefs ) { var fattr = fd [ targetName ] ; if ( fattr != null && fattr . Key ) yield return fd ; } }
Returns FieldDefs in their order within rows that are declared as key fields for particular target
Returns FieldDefs in their order within rows that are declared as key fields for particular target
targetName
string