示例#1
0
        public void InsertServiceContract(ServiceContract entity)
        {
            if (String.IsNullOrEmpty(entity.OID))
            {
                entity.OID = Guid.NewGuid().ToString();
            }

            entity.Insert();
        }
示例#2
0
        public void InsertServiceContract(ServiceContract entity)
        {
            if (String.IsNullOrEmpty(entity.OID))
                entity.OID = Guid.NewGuid().ToString();

            entity.Insert();
        }