Laraue.EfCoreTriggers icon indicating copy to clipboard operation
Laraue.EfCoreTriggers copied to clipboard

Library to write triggers in C# with EF.Core

Results 31 Laraue.EfCoreTriggers issues
Sort by recently updated
recently updated
newest added

If I have a table like ``` public class NullableHolder { [Key] public int ID { get; set; } public int? Value { get; set; } } ``` And I...

I think this awesome library could support collection of owned entities, which get mapped to separate tables. But I guess this would require some effort, because as of now all...

Hi. I have two triggers on an entity, one `AfterInsert(t => t.Action(a => a.Update(...)))` and one `AfterUpdate(t => t.Action(a => a.Update(...)))`. These both get the same cursor name `InsertedCursor`. This...

Hi, I am trying to use the most recent version (8.0.3) of the package in my .Net 6 project, but I can't add the package because it says that it...

Looks like the json properties are mapped as navigation properties instead of scalar properties, despite being in the same table. Would be great if the GetColumnName() could also look at...

var entities = modelBuilder.Model.GetEntityTypes().ToList(); entities.ForEach(entity => { var entityType = entity.GetType(); var fks = entity.GetForeignKeys().ToList(); if(fks.Count == 0) { modelBuilder.Entity(entityType)/* EXTENSION METHODS HERE*/ } }); Is there a way to...

Is it possible to add to the library support for triggers that are triggered only when certain columns in the table are updated? expected sql of such a trigger: ```...

My issue here is that if I am trying to create triggers for auditing, I have to specify each column individually or execute a raw SQL query that looks something...

If I have tables setup for [table splitting](https://learn.microsoft.com/en-us/ef/core/modeling/table-splitting) like ``` public class IntEntity { public int ID { get; set; } public int Value { get; set; } public virtual...

Hi, just hit the following exception: ``` MySqlConnector.MySqlException (0x80004005): Identifier name 'LC_TRIGGER_BEFORE_UPDATE_ORGANIZATIONDELETEREQUESTSTATUSTYPEENTITY' is too long ``` the library should probably respect the max identifier length set by database providers via...