public override void VisitKey(KeyModel model) { if (model.JoinedKeyAtt.Column == null) { model.JoinedKeyAtt.Column = model.Property.Name; } }
/// <summary> /// Visits the key. /// </summary> /// <remarks> /// Infer column name /// </remarks> /// <param name="model">The model.</param> public override void VisitKey(KeyModel model) { if (model.JoinedKeyAtt.Column == null) { model.JoinedKeyAtt.Column = model.Property.Name; } // Append column prefix model.JoinedKeyAtt.Column = columnPrefix + model.JoinedKeyAtt.Column; }
/// <summary> /// Visits the key. /// </summary> /// <param name="model">The model.</param> public override void VisitKey(KeyModel model) { WriteKey(model.JoinedKeyAtt.Column); }
public virtual void VisitKey(KeyModel model) { }
/// <summary> /// Visits the key. /// </summary> /// <param name="model">The model.</param> public virtual void VisitKey(KeyModel model) { }
public override void VisitKey(KeyModel model) { WriteKey(model.JoinedKeyAtt.Column); }