예제 #1
0
        protected bool CheckSameSubject(FBEntity entity)
        {
            var entityDetail = listDetail.FirstOrDefault(item =>
            {
                string str1 = item.GetObjValue("Entity.T_FB_SUBJECT.SUBJECTID").ToString();
                string str2 = entity.GetObjValue("Entity.T_FB_SUBJECT.SUBJECTID").ToString();
                return((str1 == str2) && (!string.IsNullOrEmpty(str1)));
            });

            return(entityDetail != null);
        }
예제 #2
0
 protected bool CheckSameSubject(FBEntity entity)
 {
     var listDetail = this.OrderEntity.GetRelationFBEntities(typeof(T_FB_BORROWAPPLYDETAIL).Name).ToList();
     var entityDetail = listDetail.FirstOrDefault(item =>
     {
         string str1 = item.GetObjValue("Entity.T_FB_SUBJECT.SUBJECTID").ToString();
         string str2 = entity.GetObjValue("Entity.T_FB_SUBJECT.SUBJECTID").ToString();
         return (str1 == str2) && (!string.IsNullOrEmpty(str1));
     });
     return entityDetail != null;
 }
예제 #3
0
        protected bool CheckSameSubject(FBEntity entity)
        {
            var listDetail   = this.OrderEntity.GetRelationFBEntities(typeof(T_FB_BORROWAPPLYDETAIL).Name).ToList();
            var entityDetail = listDetail.FirstOrDefault(item =>
            {
                string str1 = item.GetObjValue("Entity.T_FB_SUBJECT.SUBJECTID").ToString();
                string str2 = entity.GetObjValue("Entity.T_FB_SUBJECT.SUBJECTID").ToString();
                return((str1 == str2) && (!string.IsNullOrEmpty(str1)));
            });

            return(entityDetail != null);
        }