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