Example #1
0
 public static bool IsObjectEmpty(this IEntityInt entity)
 {
     return(entity.Id.Equals(0));
 }
Example #2
0
 public static bool IsObjectNull(this IEntityInt entity)
 {
     return(entity == null);
 }