コード例 #1
0
ファイル: StoredClassImpl.cs プロジェクト: erdincay/db4o
		public virtual IStoredField[] GetStoredFields()
		{
			IStoredField[] fieldMetadata = _classMetadata.GetStoredFields();
			IStoredField[] storedFields = new IStoredField[fieldMetadata.Length];
			for (int i = 0; i < fieldMetadata.Length; i++)
			{
				storedFields[i] = new StoredFieldImpl(_transaction, (FieldMetadata)fieldMetadata[
					i]);
			}
			return storedFields;
		}
コード例 #2
0
 public virtual IStoredField[] GetStoredFields()
 {
     IStoredField[] fieldMetadata = _classMetadata.GetStoredFields();
     IStoredField[] storedFields  = new IStoredField[fieldMetadata.Length];
     for (int i = 0; i < fieldMetadata.Length; i++)
     {
         storedFields[i] = new StoredFieldImpl(_transaction, (FieldMetadata)fieldMetadata[
                                                   i]);
     }
     return(storedFields);
 }