Beispiel #1
0
 /// <summary>
 /// Gets the object name for working with real-time update messages
 /// </summary>
 /// <param name="definition"></param>
 /// <returns></returns>
 public static string GetObjectName(this EntityDefinition definition)
 => $"{(string.IsNullOrWhiteSpace(definition.ObjectNamePrefix) ? "" : definition.ObjectNamePrefix)}{definition.ObjectName}{(string.IsNullOrWhiteSpace(definition.ObjectNameSuffix) ? "" : definition.ObjectNameSuffix)}";