コード例 #1
0
        } // getFieldTypeValueForNodeTypePropId()

        public CswEnumNbtFieldType getFieldTypeValueForObjectClassPropId( Int32 ObjectClassPropId )
        {
            CswEnumNbtFieldType FieldType = CswNbtResources.UnknownEnum;
            if( ObjectClassPropId != Int32.MinValue )
            {
                string FieldTypeStr = _CollImpl.getNameWhereFirst( "where fieldtypeid = (select fieldtypeid from object_class_props where objectclasspropid = " + ObjectClassPropId.ToString() + ")" );
                FieldType = FieldTypeStr;
            }
            return FieldType;
        } // getFieldTypeValueForObjectClassPropId()
コード例 #2
0
 public CswEnumNbtFieldType getFieldTypeValueForNodeTypePropId( Int32 NodeTypePropId )
 {
     CswEnumNbtFieldType FieldType = CswNbtResources.UnknownEnum;
     if( NodeTypePropId != Int32.MinValue )
     {
         string FieldTypeStr = _CollImpl.getNameWhereFirst( "where fieldtypeid = (select fieldtypeid from nodetype_props where nodetypepropid = " + NodeTypePropId.ToString() + ")" );
         FieldType = FieldTypeStr;
     }
     return FieldType;
 } // getFieldTypeValueForNodeTypePropId()
コード例 #3
0
 public IEnumerable<CswNbtMetaDataObjectClassProp> getObjectClassPropsByFieldType( CswEnumNbtFieldType FieldType )
 {
     return _CollImpl.getWhere( "where fieldtypeid in (select fieldtypeid from field_types where fieldtype = '" + FieldType.ToString() + "')" ).Cast<CswNbtMetaDataObjectClassProp>();
 }
コード例 #4
0
 public IEnumerable<CswNbtMetaDataObjectClassProp> getObjectClassPropsByPropertySetId( Int32 PropertySetId, CswEnumNbtFieldType FieldType )
 {
     return _CollImpl.getWhere( "where objectclasspropid in (select objectclasspropid from jct_propertyset_ocprop where propertysetid = " + PropertySetId + ")" +
                                "  and fieldtypeid in (select fieldtypeid from field_types where fieldtype = '" + FieldType.ToString() + "')" ).Cast<CswNbtMetaDataObjectClassProp>();
 }
コード例 #5
0
 public IEnumerable <CswNbtMetaDataNodeTypeProp> getNodeTypeProps(CswEnumNbtFieldType FieldType)
 {
     return(_CswNbtMetaDataResources.CswNbtMetaData.getNodeTypeProps(NodeTypeId, FieldType, _Date));
 }
コード例 #6
0
 public IEnumerable <CswNbtMetaDataObjectClassProp> getObjectClassProps(CswEnumNbtFieldType FieldType)
 {
     return(_CswNbtMetaDataResources.ObjectClassPropsCollection.getObjectClassPropsByObjectClass(ObjectClassId, FieldType));
 }
コード例 #7
0
 public CswNbtMetaDataFieldType getFieldType( CswEnumNbtFieldType FieldType )
 {
     return (CswNbtMetaDataFieldType) _CollImpl.getWhereFirst( "where lower(fieldtype)='" + FieldType.ToString().ToLower() + "'" );
 }
コード例 #8
0
 public IEnumerable<CswNbtMetaDataNodeTypeProp> getNodeTypeProps( Int32 NodeTypeId, CswEnumNbtFieldType FieldType, CswDateTime Date = null )
 {
     return _CollImpl.getWhere( "where nodetypeid = " + NodeTypeId.ToString() +
                                 " and fieldtypeid in (select fieldtypeid from field_types where fieldtype = '" + FieldType.ToString() + "')", Date ).Cast<CswNbtMetaDataNodeTypeProp>();
 }
コード例 #9
0
 public ICswNbtFieldTypeRule makeFieldTypeRule(CswEnumNbtFieldType FieldType)
 {
     return(CswNbtFieldTypeRuleFactory.makeRule(CswNbtFieldResources, FieldType));
 }