public TEntity BindWithTag(PersonTag pt)
 {
     if (BindWithTag(pt.Id, pt.Tag) == false)
     {
         return(null);
     }
     return(GetEntity(pt.Id.ToString()));
 }
 public TEntity BindWithTag(PersonTag pt)
 {
     try
     {
         if (BindWithTag(pt.Id, pt.Tag) == false)
         {
             return(null);
         }
         return(GetEntity(pt.Id.ToString()));
     }
     catch (System.Exception ex)
     {
         Log.Error(tag, "BindWithTag", ex.ToString());
         return(null);
     }
 }