示例#1
0
 /// <summary>
 /// The method that is called after an <see cref="EntityInfo"/> is created from the <see cref="SaveBundle"/>.
 /// </summary>
 /// <param name="entityInfo">The created entity info.</param>
 /// <param name="saveOptions">The save options from the client.</param>
 /// <returns>Whether the <see cref="EntityInfo"/> should be included in the save map.</returns>
 protected internal virtual bool AfterCreateEntityInfo(EntityInfo entityInfo, SaveOptions saveOptions)
 {
     return(true);
 }
 internal SaveChangesContext(Dictionary <Type, List <EntityInfo> > saveMap, SaveOptions saveOptions)
 {
     SaveMap     = saveMap;
     SaveOptions = saveOptions;
 }