internal void RemoveWhiteSpace(IEntityPropertySetInterceptorArgs args) { if (args.EntityProperty.DataType != typeof(string) || args.Value == null) return; args.Value = ((string) args.Value).Trim(); }
internal void RemoveWhiteSpace(IEntityPropertySetInterceptorArgs args) { if (args.EntityProperty.DataType != typeof(string) || args.Value == null) { return; } args.Value = ((string)args.Value).Trim(); }