Skip to content

Commit e00e5c8

Browse files
committed
Remove unused session param
1 parent 7a36b0f commit e00e5c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/NHibernate.DomainModel/CustomPersister.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public object CreateProxy(object id, ISessionImplementor session)
399399
throw new NotSupportedException("no proxy for this class");
400400
}
401401

402-
public bool? IsTransient(object obj, ISessionImplementor session)
402+
public bool? IsTransient(object obj)
403403
{
404404
return ((Custom) obj).Id == null;
405405
}

src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4193,7 +4193,7 @@ public virtual void AfterReassociate(object entity, ISessionImplementor session)
41934193
}
41944194
}
41954195

4196-
public virtual bool? IsTransient(object entity, ISessionImplementor session)
4196+
public virtual bool? IsTransient(object entity)
41974197
{
41984198
object id;
41994199
if (CanExtractIdOutOfEntity)

src/NHibernate/Persister/Entity/IEntityPersister.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ void Update(
458458
object CreateProxy(object id, ISessionImplementor session);
459459

460460
/// <summary> Is this a new transient instance?</summary>
461-
bool? IsTransient(object obj, ISessionImplementor session);
461+
bool? IsTransient(object obj);
462462

463463
/// <summary> Return the values of the insertable properties of the object (including backrefs)</summary>
464464
object[] GetPropertyValuesToInsert(object obj, IDictionary mergeMap, ISessionImplementor session);

0 commit comments

Comments
 (0)