private PropertyRecord CreateRecord(PropertyRecordFormat format, long recordId) { PropertyRecord record = format.NewRecord(); record.InUse = true; record.Id = recordId; record.NextProp = 1L; record.PrevProp = (int.MaxValue + 1L) << (sizeof(sbyte) * 8) * 3; return(record); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setUp() public virtual void SetUp() { _recordFormat = new PropertyRecordFormat(); _pageCursor = new StubPageCursor(0, ( int )ByteUnit.kibiBytes(8)); _idSequence = new ConstantIdSequence(); }