TryValidateObject (entity, validationContext, results, true)) // Need to set all properties, otherwise it just checks required.
確定! 回上一頁