public AffordanceTaggingEntry([NotNull] string name, int taggingSetID, [CanBeNull] AffordanceTag tag, [CanBeNull] Affordance affordance, [NotNull] string connectionString, [CanBeNull] int?pID, StrGuid guid) : base(name, pID, TableName, connectionString, guid) { _taggingSetID = taggingSetID; _tag = tag; _affordance = affordance; TypeDescription = "Affordance Tagging Entry"; }
private static string GetName([CanBeNull] AffordanceTag tag) { var name = string.Empty; if (tag != null) { name = tag.Name; } return(name); }
public AffordanceTagReference([NotNull] string name, int taggingSetID, [CanBeNull] AffordanceTag tag, [NotNull] string connectionString, [CanBeNull] int?pID, PermittedGender gender, int minAge, int maxAge, double percentage, StrGuid guid) : base(name, pID, TableName, connectionString, guid) { _taggingSetID = taggingSetID; _tag = tag; _gender = gender; _minAge = minAge; _maxAge = maxAge; _percentage = percentage; TypeDescription = "Affordance Tag Reference"; }