private IDbObjectStateEntry ToDbObjectStateEntry(ObjectStateEntry objectStateEntry)
        {
            IDbObjectStateEntry dbObjectStateEntry = null;
            if (objectStateEntry != null)
            {
                dbObjectStateEntry = new DbObjectStateEntry { Entity = objectStateEntry.Entity, EntityKey = objectStateEntry.EntityKey, State = this.ToDbObjectState(objectStateEntry.State) };
            }

            return dbObjectStateEntry;
        }
Ejemplo n.º 2
0
        private IDbObjectStateEntry ToDbObjectStateEntry(ObjectStateEntry objectStateEntry)
        {
            IDbObjectStateEntry dbObjectStateEntry = null;

            if (objectStateEntry != null)
            {
                dbObjectStateEntry = new DbObjectStateEntry {
                    Entity = objectStateEntry.Entity, EntityKey = objectStateEntry.EntityKey, State = this.ToDbObjectState(objectStateEntry.State)
                };
            }

            return(dbObjectStateEntry);
        }