partial void OnModelCreatingPartial(ModelBuilder modelBuilder) { modelBuilder.HasDbFunction(() => DbFunction.ExampleFunction(default(string))); }
//Try to use Function in database public string SetSuffix(string text) { return(DbFunction.ExampleFunction(text)); }