public void AddGraphChange <TModel, TData>(TModel entity) where TModel : BaseModel where TData : BaseData { _store.AddGraphChanges <TModel, TData>(_mapper, new List <TModel> { entity }); }
internal static void AddGraphChanges <TModel, TData>(this IStore store, IMapper mapper, ICollection <TModel> entities) where TModel : BaseModel where TData : BaseData { store.AddGraphChanges <TData>(mapper.Map <IEnumerable <TData> >(entities).ToList()); }
public void AddGraphChange(TModel entity) { _store.AddGraphChanges <TModel, TData>(_mapper, new List <TModel> { entity }); }