Beispiel #1
0
        private void AddIndices(IVertexStore myStore, Int64 myCreationDate)
        {
            #region Index

            _storageManager.StoreIndex(myStore,
                                       _BaseUniqueIndexIndexDotName,
                                       "IndexDotName",
                                       "IndexDotNameIndexComment",
                                       myCreationDate,
                                       null,
                                       //true,
                                       false,
                                       false,
                                       false,
                                       null,
                                       _Index,
                                       null,
                                       _IndexDotName.SingleEnumerable().ToList(),
                                       _security,
                                       _transaction);

            #endregion

            #region BaseType

            _storageManager.StoreIndex(myStore,
                                       _BaseUniqueIndexBaseTypeDotName,
                                       "BaseTypeDotName",
                                       "BaseTypeDotNameIndexComment",
                                       myCreationDate,
                                       null,
                                       //true,
                                       false,
                                       false,
                                       false,
                                       null,
                                       _BaseType,
                                       null,
                                       _BaseTypeDotName.SingleEnumerable().ToList(),
                                       _security,
                                       _transaction);

            _storageManager.StoreIndex(myStore,
                                       _BaseUniqueIndexVertexTypeDotName,
                                       "VertexTypeDotName",
                                       "VertexTypeDotNameIndexComment",
                                       myCreationDate,
                                       null,
                                       //true,
                                       false,
                                       false,
                                       false,
                                       null,
                                       _VertexType,
                                       _BaseUniqueIndexBaseTypeDotName,
                                       _BaseTypeDotName.SingleEnumerable().ToList(),
                                       _security,
                                       _transaction);

            _storageManager.StoreIndex(myStore,
                                       _BaseUniqueIndexEdgeTypeDotName,
                                       "EdgeTypeDotName",
                                       "EdgeTypeDotNameIndexComment",
                                       myCreationDate,
                                       null,
                                       //true,
                                       false,
                                       false,
                                       false,
                                       null,
                                       _EdgeType,
                                       _BaseUniqueIndexBaseTypeDotName,
                                       _BaseTypeDotName.SingleEnumerable().ToList(),
                                       _security,
                                       _transaction);

            #endregion
        }