示例#1
0
        /// <summary>
        /// 写入构件的算量属性是否跟随的判断值
        /// </summary>
        /// <param name="fi"></param>
        /// <param name="isFollow"></param>
        /// <returns></returns>
        public static bool WriteIsFollow(this Element fi, bool isFollow)
        {
            SchemaEntityOpr opr = new SchemaEntityOpr(fi);

            if (opr.IsValid())
            {
                opr.SetParm("IsFollow", isFollow.ToString());
                opr.SaveTo(fi);
                return(true);
            }
            else
            {
                return(false);
            }
        }